MYSQL error as below:
#1046 - No database selected
Solution:
Select a database before importing sql files, otherwise the system can’t determine which database your sql files are actually going to be imported to, so it will report an error as above.
Similar Posts:
- Error 1046 (3d000): no database selected) error in importing MySQL datagram from Ubuntu 18.04
- Sqlog recovery database error solution [error code: 2006 – MySQL server has gone away]
- [Solved] MYSQL ERROR 1290 (HY000): The MySQL server is running with the –secure-file-priv option so it cannot e…
- Error in uploading configuration file using Nacos
- ERROR 1044 (42000): Access denied for user ‘root’@’localhost’ to database ‘in…
- NodeJS Connect MYSQL Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
- IDEA Connect MYSQL Error: You have an error in your SQL syntax : ‘OPTION SQL_SELECT_LIMIT=1000’ (or…
- MySQL reports an error using load data local infile
- Unknown system variable ‘storage_engine’
- How to Solve MySQL Startup error: mysql-bin.index not found (Errcode: 13)