关于mysql出现delete from student where `stu_id` = '1' Error Code: 1175. You are using safe update错误

两个解决办法,

一:

修改mysql 的preference选项

上图:  选中edit,选择preference属性

二, 使用SET SQL_SAFE_UPDATES = 0

猜你喜欢

转载自blog.csdn.net/weixin_42720316/article/details/84293086
今日推荐