mysql 错误解决

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 ……;

 

posted @ 2014-01-25 10:34  coreWars  阅读(122)  评论(0编辑  收藏  举报