MySql cmd恢复数据库时报错:
ERROR:
ASCII '0' appeared in the statement, but this is not allowed unless option --bi
nary-mode is enabled and mysql is run in non-interactive mode. Set --binary-mode
to 1 if ASCII '0' is expected. Query: 'ÿþ-'.
Bye
原因:因为源sql文件是powershell导出的,所以用cmd导入会有问题,将源文件用cmd导出即可。