2017-05-21 95 views
0

尝试运行PHPADMINPHP管理员拒绝访问

Error 
MySQL said: Documentation 

#1226 - User 'root' has exceeded the 'max_connections_per_hour' 
resource (current value: 3) 
mysqli_real_connect(): (HY000/1226): 
User 'root' has exceeded the 'max_connections_per_hour' resource (current value: 3) 
phpMyAdmin tried to connect to the MySQL server, and the server rejected 
the connection. You should check the host, username and password in your 
configuration and make sure that they correspond to the information given by the 
administrator of the MySQL server. 

请帮助时,我收到以下错误。我不小心设置访问的最大数量为3

回答

0

我的数据库之一的一个小时内不要等待,在命令行

UPDATE mysql.user SET max_connections = 0 WHERE user='root'; 

FLUSH PRIVILEGES; 
+0

运行SQL这里将我写这个命令?在wp-config.php文件中? – Soumil

+0

并代替用户我将不得不写点别的东西?我对MySql和PHP相当陌生。 – Soumil

+0

你可以参考这里:https://dev.mysql.com/doc/mysql-getting-started/en/ 连接到与MySQL客户端 – fortune

相关问题