mysql INSERT command denied to user
2015-01-20 22:29
537 查看
错误编号:1142
问题分析:
网站运行突然出现下面的 MySQL 错误: MySQL server error report:
INSERT command denied to user '%s'@'localhost' for table '%s' , errno: 1142
解决办法:
1、请检查您的 MySQL 帐号是否有相应的权限。
2、检查一下应用下的 config 配置文件中的连接数据库的帐号是否正确。
3、检查一下数据库是否满了,如果数据库满了没有空间后也会出现这种情况。
相关文章推荐
- mysql SELECT/UPDATE command denied to user 'root'@'localhost' for table 'XXX' 报错1142处理
- - INSERT command denied to user 'XXX'@'XXX.internal' for table
- INSERT command denied to user
- 4000 ERROR 1142 (42000): INSERT command denied to user 'radius'@'localhost' for table 'radcheck'
- mysql客户端( Navicat)远程登录操作再遇问题 1142-create command denied to user×××
- ERROR 1142 (42000): INSERT command denied to user 'wwt'@'localhost' for table 'jobbole_spilder'
- Mysql 用户权限管理--从 xxx command denied to user xxx
- mysql "select command denied to user root" 问题解决
- mysql SELECT command denied to user 'root'@'localhost' for table 'XXX' 报错1142
- 解决mybatis的SELECT command denied to user 'root'@'192.168.1.47' for table 'user'的报错。mysql用户权限修改,表权限修改。
- mysql 5.5 中mysqldump: Got error: 1142: SELECT,LOCK TABL command denied to user 'root'@'localhost' fo
- CGI+MySQL: Access denied for user 'root'@'%' to database '
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SELECT command denied to user 'xxxx'@''
- mysql错误:Access denied for user 'root'@'172.19.100.123' to database 'android'
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SELECT command denied to user’
- ERROR 1142 (42000): UPDATE command denied to user 'test'@'192.168.1.101' for table 'employees'