数据库安全模式
報錯: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; /*取消安全模式*/
提醒: 修改完之后最好再設置回安全模式,即set sql_safe_updates=1;
總結
- 上一篇: w ndows安装,Win7旗舰版Wnd
- 下一篇: 数据库安全与保密