본문 바로가기


프로젝트 하면서/DB

[MySQL 에러 : 1175] delete, update 할 때

by worldforest 2020. 8. 11.
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 ...

delete나 update하고 싶은 table에서

SET SQL_SAFE_UPDATES = 0;

이 문장을 실행시켜주면 설정이 바뀐다

 

더보기

역시 에러는 검색을 해봐야지!! 에러나면 바로 검색하자

반응형

댓글