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使用。

猜你喜欢

转载自www.cnblogs.com/yocichen/p/10555835.html