DB스토리/MYSQL

MySQL Workbenc Error code 1175

블루다컴 2014. 9. 26. 17:00

MySQL Workbench에서 update 명령 실행 시 Error code 1175가 떨어지는 경우가 있다.

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 Queries and reconnect.

이 에러는 WHERE절에 key(index) 컬럼이 조건으로 들어가 있지 않은 경우에 발생한다.

이를 해결하기 위해서는 WHERE절에 key(index) 컬럼을 조건으로 넣어 주거나 아래 환경변수를 설정해 주면 해결된다.

 

반응형