본문 바로가기
카테고리 없음

[MySQL] 테이블 내용 삭제 오류

by devebucks 2019. 8. 27.
728x90

[오류내용]

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.

[오류원인]

UPDATE 에 대해서 안전 모드로 되어있어서 그렇다.

 

[해결방법]

 

Workbanch에서 

> SET SQL_SAFE_UPDATES=0;

 

으로 해주면 일시적으로 적용된다.

728x90

댓글