컴퓨터 기본/데이터베이스(DB)

[워크벤치 오류 해결방법] Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.

엔지니어- 2020. 4. 1. 23:17

Workbench를 사용해 DELETE 중 아래와 같은 오류가 발생할 경우 해결하는 방법입니다.

 

오류 내용

Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.  

 

 

해결 방법

아래 경로로 차례대로 이동 후

Safe Update의 체크박스를 해제하면 간단히 해결됩니다.

  • Edit Preferences SQL Editor → Other

  • Safe Updates (rejects UPDATEs and DELETEs with no restrictions) 체크 박스 해제

 

아래에 스크린샷 남기겠습니다.

 

Edit → Preferences로 이동
Safe Updates 해제 전
해제 완료