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.


기본적으로 safe mode가 적용되어 있어 바로 update나 delete가 불가능한 상태이다.

이를 해결하기 위한 방법은 2가지가 존재한다.


1. 명령어를 이용하는 방법


SET SQL_SAFE_UPDATES = 0;



2. workbench 설정변경


edit - preferences - sql editor


아래의 체크를 해제하면 된다.



+ Recent posts