2017-05-21 94 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

相關問題