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

오류 코드: 1175. 안전 업데이트 모드를 사용하고 있으며 KEY 열을 사용하는 WHERE 없이 테이블을 업데이트하려고 했습니다. 안전 모드를 비활성화하려면 환경 설정 -> SQL 편집기에서 옵션을 전환하고 다시 연결하세요.

mysql workbench에서 해당 토글을 켜고 끄는 방법을 알아봅시다.

example
1. 우측 상단의 톱니바퀴를 눌러주세요 2. 화살표로 표시 된 SQL Editor 메뉴를 눌러주세요 3. Safe updates toggle을 눌러주세요