Home >Database >Mysql Tutorial >mysql INSERT]command denied to user_MySQL

mysql INSERT]command denied to user_MySQL

WBOY
WBOYOriginal
2016-06-01 13:57:201831browse

错误编号:1142

问题分析:

网站运行突然出现下面的 MySQL 错误: MySQL server error report:

INSERT command denied to user '%s'@'localhost' for table '%s' , errno: 1142

解决办法:

1、请检查您的 MySQL 帐号是否有相应的权限。

2、检查一下应用下的 config 配置文件中的连接数据库的帐号是否正确。

3、检查一下数据库是否满了,如果数据库满了没有空间后也会出现这种情况。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn