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,修改正确运行即可






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论