遇到这个错误,不知道怎么解决,上网查了一下,原来是设置的问题,mark一下。
具体错误描述如下:
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 Queries and reconnect.
具体解决办法:
MySQL Workbench 中 edit->Preferences -> SQL Queries,如图所示,把框前的选项去掉即可。
重新启动MySQL Workbench,即可执行update和delete 语句。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22275400/viewspace-1289210/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22275400/viewspace-1289210/