Pay it Forward

[Error] You are using safe update mode 에러 해결방법 본문

DB/MYSQL

[Error] You are using safe update mode 에러 해결방법

minjoony 2020. 2. 14. 12:16
728x90

Mysql에서 update 문을 쓰다가 발견하는 흔한 에러

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. 0.000 sec

 

해결방법이 나오지만 이보다 더 쉽게 아래와 같은 명령어를 입력하면 바로 해결!

 

set sql_safe_updates=0;
728x90
Comments