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 Editor and recon

数据库默认模式是主键不可进行修改操作,所以需要运行以下语句。

SET SQL_SAFE_UPDATES = 0; 

-- 出现error1175使用。

posted @ 2019-03-18 22:51  yocichen  阅读(309)  评论(0编辑  收藏  举报