今天在MySQL中执行删除语句时遇到编译器显示You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
参考了网上的博客,解决思路如下:
show variables like ‘sql_safe%‘;
然后显示如下:
然后再 set sql_safe_updates=off;
即可解决。
参考:https://www.cnblogs.com/kaerxifa/p/11049888.html