웹프로그래밍/DB
[mysql]Error Code: 1175. You are using safe update mode 어쩌구 해결법
하요_
2019. 6. 21. 16:16
mysql workbench에서 delete문으로 테이블데이터를 전부 지우려고 했더니
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
라는 에러가 나왔다.
세이프 모드 옵션을 끄면된다.
SET SQL_SAFE_UPDATES = 0;