标签:
1、在workbench中表格显示为readonly ,更新时提示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 Queries and reconnect.
这是由于MySQL Workbench打开了安全更新模式
解决方法:
SET SQL_SAFE_UPDATES = 0;
要执行的sql语句
SET SQL_SAFE_UPDATES = 1;
标签:
原文地址:http://www.cnblogs.com/wuxx/p/5284372.html