SQL Error (1064) : No database selected

PegasusP's profile image PegasusP posted 4 years ago in Import/Export Permalink

I recently restored Database because i immigrate MySQL to MariaDB. now i am using MariaDB but i am getting this strange error when i running SQL File

1 attachment(s):
  • Ekran-Al-nt-s-
PegasusP's profile image PegasusP posted 4 years ago Permalink

I used these settingsimage description

1 attachment(s):
  • Ekran-Al-nt-s-2
ansgar's profile image ansgar posted 4 years ago Permalink

The error says it: "No database selected" - you need to select a database before running that script. The script itself does not contain a CREATE DATABASE ... or USE ... query, so you need to activate one in HeidiSQL and then run the script.

Please login to leave a reply, or register at first.