热线电话:13121318867

登录
2020-06-05 阅读量: 680
mysql数据库想进行添加字段操作,报错 1175. You are using safe update mode and you tried to update a table......

这是因为数据库在安全模式下需要设置权限,语句为

set sql_safe_updates=0;-- 设置数据库安全限制

报错1139 Unknown system variable 'set sql_safe_update=0'

是因为语句写成了update,正确的为updates,修改正确运行即可

51.9626
2
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子