MSQL:You are using safe update mode and you tried to update a table without a WHERE that uses a KEY

解决方法一:

SET SQL_SAFE_UPDATES = 0;

解决方法二:

where判断条件中跟上主键ID

猜你喜欢

转载自blog.csdn.net/KAIZ_LEARN/article/details/107761473