본문 바로가기

DB스토리/MYSQL

MySQL Workbenc Error code 1175

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) 컬럼을 조건으로 넣어 주거나 아래 환경변수를 설정해 주면 해결된다.

 

'DB스토리 > MYSQL' 카테고리의 다른 글

MYSQL my.cnf  (0) 2014.10.01
리눅스 MySQL 5.6.x 설치  (0) 2014.09.30
MYSQL JOIN 쿼리  (0) 2014.09.26
Can't connect to local MySQL server through socket '/tmp/mysql.sock'  (0) 2014.09.04
MySQL - DB/테이블 관리 기본 명령어  (0) 2013.11.13