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) 컬럼을 조건으로 넣어 주거나 아래 환경변수를 설정해 주면 해결된다.
SET SQL_SAFE_UPDATES=0;
댓글 없음:
댓글 쓰기