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

mysql 错误解决

上一篇:vi/vim 编辑器使用详解


下一篇:sql datetime操作