본문 바로가기

카테고리 없음

MySQL Error Code: 1175


아래와 같이 delete 문을 실행시켰는데 


에러가 발생했다.

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. 0.000 sec


safe mode로 설정돼있어서 key 컬럼을 사용하는 where절 없이 테이블을 업데이트하려면 safe mode를 비활성화 시켜야 한다는 에러 메세지를 확인했다.


따라서 Edit > Preferences의 SQL Editer 탭에서 check돼있는 해당 모드를 uncheck 해주면 된다.

그리고 접속을 다시 해주어야 이 설정이 적용된다.