mysql执行update报错1175解决方法
mysql执行update报错
update library set status=true where 1=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 Queries and reconnect. 0.000 sec
解决:
SET SQL_SAFE_UPDATES = 0;
作者:Deep Blue
出处:http://www.cnblogs.com/shenlan/
申明:作者写博是为了总结经验,和以后的工作参考之用。 如需转载,请尽量保留此申明,并在文章页面明显位置给出原文连接。谢谢!
出处:http://www.cnblogs.com/shenlan/
申明:作者写博是为了总结经验,和以后的工作参考之用。 如需转载,请尽量保留此申明,并在文章页面明显位置给出原文连接。谢谢!