MySQL Workbench Update 报错
报错信息:
update sys_menu set menu_state = 1 Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor
报错原因:
没有打开安全模式
解决办法:
在Edit -> Preferences -> SQL Editor中去掉Safe Updates 对勾,打开安全模式。
断开连接,重新连接后就可以更新了。