简体   繁体   English

PHP管理员拒绝访问

[英]PHP Admin Refusing Access

I am getting the following error when attempting to run PHPADMIN 尝试运行PHPADMIN时出现以下错误

   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.

Please help. 请帮忙。 I have accidentally set the maximum number of access during one hour of one of my databases to 3. 我意外地将其中一个数据库在一小时内的最大访问次数设置为3。

Do wait and run the SQL at commandline 请等待并在命令行中运行SQL

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

FLUSH PRIVILEGES;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM