您的位置:首页 > 博客中心 > 数据库 >

mysql执行update报错1175解决方法

时间:2022-03-14 02:34

mysql执行update报错

update library set status=true where 1=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. 0.000 sec

 

解决:

SET SQL_SAFE_UPDATES = 0;

热门排行

今日推荐

热门手游