首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >PHP管理员拒绝访问

PHP管理员拒绝访问
EN

Stack Overflow用户
提问于 2017-05-22 02:43:37
回答 1查看 254关注 0票数 0

尝试运行PHPADMIN时出现以下错误

代码语言:javascript
运行
复制
   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。

EN

回答 1

Stack Overflow用户

发布于 2017-05-22 05:31:18

请等待并在命令行上运行SQL

代码语言:javascript
运行
复制
UPDATE mysql.user SET max_connections = 0 WHERE user='root'; 

FLUSH PRIVILEGES;
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44100518

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档