1. 程式人生 > >MySQL異常

MySQL異常

toggle rec del mil delet new without mes spa

1 ERROR 1175

delete from user where username = ‘monkey‘

編譯報錯:

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 reconnect.

解決方法:
SET SQL_SAFE_UPDATES=0;

MySQL異常