mysql 错误注意事项

来源:互联网 发布:剑灵灵男捏脸详细数据 编辑:程序博客网 时间:2024/04/29 13:38
mysql>  UPDATE user SET Password=PASSWORD(’654321’) where USER=’root’;ERROR 1054 (42S22): Unknown column '’root’' in 'where clause'

表示' root'中含有未知列' '(空格)

mysql>  UPDATE user SET Password=PASSWORD('654321’) where USER='root’;ERROR 1064 (42000): You have an error in your SQL syntax; check the manual thatcorresponds to your MySQL server version for the right syntax to use near 'root’' at line 1

表示在第一行,错误靠近root’

 错误:1045 SQLSTATE: 28000 (ER_ACCESS_DENIED_ERROR) 消息:拒绝用户'%s'@'%s'的访问(使用密码:%s)

1 0
原创粉丝点击