What's wrong with MYSQL? A problem occurs when importing data to the database. what happened to MYSQL? As soon as importing data to the database, there is a problem. ------ solution ------------------ obviously no database is selected ------ solution ------------------ no database is selected. Before import: usedatabase; ------ solution -------------------- The table is to be created. what happened to MYSQL? A problem occurs when importing data to the database,
What's wrong with MYSQL? A problem occurs when importing data to the database,
------ Solution --------------------
Obviously, no database is selected.
------ Solution --------------------
No database is selected. Before import: use database;
------ Solution --------------------
To create a table in the database, you must first create a database, then use the database, and then execute the preceding SQL statement.
------ Solution --------------------
#1046 no database selected
Because you did not export data by database, you must first enter the database where you want to import the table before importing the data.
------ Solution --------------------
The error message is clear.
------ Solution --------------------
Add the following to your database. SQL file:
Create database /*! 32312 if not exists */'mydb '/*! 40100 default character set utf8 */;
USE 'yourdb ';
------ Solution --------------------
Yes. you should first enter the database and then import
But does your zj table already exist?