22:20:20 Restoring D:\我的文档\Desktop\test.sql
Running: mysql.exe --defaults-file="c:\users\xx~1.tan\appdata\local\temp\tmpqdpyaj.cnf" 
 --protocol=tcp --host=localhost --user=root --port=3306 --default-character-set=utf8 --comments  < "D:\\我的文档\\Desktop\\test.sql"
ERROR 1046 (3D000) at line 22: No database selected

Operation failed with exitcode 1
22:20:21 Import of D:\我的文档\Desktop\test.sql has finished with 1 errors

 

导入时没有选择数据库名称。

ERROR 1046 (3D000) at line 22: No database selected

相关文章: