当导入数据的时候出现如何错误时
There was error(s) while executing the queries .
The query and the error message has been logged at:
C:\Users\86136\AppData\Roaming\SQLyog\sqlyog.err.
Please click on "Open Error File..." to open the error file.
解决办法:
- 我们点击到sqlyog.err.这个文件中,会发现有以下错误
- 会发现这个报错是因为我们的sql文件中的字符编码不对,不能够识别为utf8mb4的编码,我们需要修改字符编码为utf8
- 打开sql文件,使用Ctrl+ F来查找utf8mb4 完后替换成成utf8
- 以上步骤完成即可。完后就可以重新导入文件。