可以运行一个SQL脚本拥有MySQL Workbench
我刚刚在Mac OS Monterey上安装了MySQL Server和MySQL Workbench。我正在尝试在Workbench上运行一个.sql文件,它给了我此错误消息:“ ASCII编解码器无法在位置2380中解码字节0xE:不在范围内(128)。”谁能帮忙?
I just installed MySQL server and MySQL Workbench on Mac OS Monterey. I am trying to run a .sql file on Workbench, it gives me this error message:"ascii codec can't decode byte 0xe in position 2380: ordinal not in range(128)." Can anyone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有一个与您相同错误的错误报告: -
Bug
Report将您的SQL文件掩盖到任何其他编码方案(例如UTF8)。您可以使用以下步骤执行此操作: -
请参阅在这里
尝试在MySQL Workbench中打开脚本后,必须解决问题。
There is a bug report related to the same error as yours here:-
bug report
But in your case since ordinal is not in range , you should try to covert your SQL file to any other encoding schemes like UTF8 . You can do that using these steps:-
see here
After this try to open the script in MySql Workbench , issue must be resolved .