问题

软件 >> MySQL
Questions in category: MySQL (MySQL).

[mysql] Error

Posted by haifeng on 2024-09-26 09:08:57 last update 2024-09-26 09:11:06 | Answers (0) | 收藏


原本想导入.sql文件的, 结果输入了二进制文件 .db, 就出现了如下错误.

mysql> source D:/work/cs/Database/sqlite/students/xk2301.db

ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode. Set --binary-mode to 1 if ASCII '\0' is expected. Query: 'SQLite format 3'.