[MySQL] - Error Code: 1175 You are using safe update mode and you tried to update a table


[MySQL] - Error Code: 1175 You are using safe update mode and you tried to update a table

MySQL - Error Code: 1175. safe update mode 오류MySQL 에서 DELETE 쿼리문을 수행하려고 하니 아래와 같은 오류가 발생했다.대충 읽어보니 현재 safe update mode(안전한 update 모드..? )를 사용하고 있어서 테이블에서 KEY 값을 기준으로 UPDATE나 DELETE문을 허용하도록 되어있는데, 이와는 다른 SQL문을 적용할 때 Workbench에서 경고문을 준다.safe mode를 끄려면 Preferences의 옵션에서 SQL Editor 부분을 수정하면 될 것 같다.해결방법 1아래 쿼리문을 통해 일시적으로 Safe 모드를 해제함으로써 해결할 수 있다.해결방법 2경고문에서 나온대로 Workbench의 Preferences에서 해당 부분을 설정하자.Edit > Preferences..........



원문링크 : [MySQL] - Error Code: 1175 You are using safe update mode and you tried to update a table