mysql 错误解决

时间:2014-01-25 18:05:27   收藏:0   阅读:419

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.

  解决方式:  

      SET SQL_SAFE_UPDATES = 0;  // 重要的是这一句

      update T set col = ‘xxx‘ where  condition ……;

原文:http://www.cnblogs.com/ytfcz/p/3533130.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!