본문 바로가기
ERROR

SQL_UPDATE 오류

by haheaven 2021. 8. 19.

* UPDATE 시 에러코드

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

--> mysql상의 안전한 모드 옵션 설정으로 인해 실행이 안됨  -- > 변경했을 때의 위험한 결과를 방지하기 위해 설정이 되어 에러 발생

 

1. MySQLWorkbench → Preferences 클릭 

 

 

2. SQL Editor → 하단 Safe Updates 체크박스 해제 → OK 클릭  

 

 

 

3. 현재 접속한 서버 창 끄기

 

 

4. 재접속 후 UPDATE문 다시 입력 후 실행 

댓글