恢复mysql备份

恢复mysql备份,mysql,Mysql,我正在尝试从备份还原数据库。我已经创建了新的数据库: CREATE DATABASE `my_db` CHARACTER SET utf8 在那之后,我启动了大型sql,一段时间后写了 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''

我正在尝试从备份还原数据库。我已经创建了新的数据库:

CREATE DATABASE `my_db` CHARACTER SET utf8
在那之后,我启动了大型sql,一段时间后写了

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ''oy7:
commandwy24:BroadcastCommandContentsy15:changeStructure:7y7:1080582i15ay7:1' at
line 1
有人知道上面是什么吗?我试过两个备份,我不认为两个都是无效的


提前谢谢你

只是想知道:您最初是如何创建备份的?如果您使用诸如mysqldump之类的工具进行备份,那么该备份中不太可能存在SQL语法错误。@matthewh启动备份脚本时,是否可以忽略“坏”查询?