最近在学MySQL必知必会,导入自带的数据库,出现如下错误:
ERROR:
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: ‘?s’.

解决方法是:
另存为utf-8。

更多推荐