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

原文地址:https://www.cnblogs.com/ytfcz/p/3533130.html