"Host 'USER-XXXX' is not allowed to connect to this MySQL server"
来源:互联网 发布:淘宝手机首页素材 编辑:程序博客网 时间:2024/06/04 19:09
1.在mysql库中,复制user=root,host=‘localhost’的数据,修改localhost为%
数据库信息:
user host ------ -----------------root % root localhost
2.赋权限
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION;GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;FLUSH PRIVILEGES;
3.重启mysql
1 0
- "Host 'USER-XXXX' is not allowed to connect to this MySQL server"
- message from server: "Host 'XXXX' is not allowed to connect to this MySQL server"
- 解决MySQL ERROR 1130 (HY000): Host 'XXXX' is not allowed to connect to this MySQL server
- host is not allowed to connect to this MySQL server
- Host is not allowed to connect to this MySQL server
- host ... is not allowed to connect to this MySql server
- Host * is not allowed to connect to this MySQL server
- host is not allowed to connect to this MySql server
- Host is not allowed to connect to this MySQL server
- host ... is not allowed to connect to this MySql server
- Host '***' is not allowed to connect to this MySQL server"
- host ... is not allowed to connect to this MySql server
- Host is not allowed to connect to this mysql server,
- Host '***' is not allowed to connect to this MySQL server
- Host 'USER-20141212QO' is not allowed to connect to this MySQL server
- Host is not allowed to connect to this MySQL server 和 access denied for user 'root'@'localhost' 解决办法
- Host '*' is not allowed to connect to this MariaDB server
- Host '*' is not allowed to connect to this MariaDB server
- 自定义Collection View布局
- ZooKeeper系列之六:ZooKeeper四字命令
- IONIC项目JPUSH消息推送IOS集成
- python之from...import...和import
- 优化小计,304和202
- "Host 'USER-XXXX' is not allowed to connect to this MySQL server"
- 仿知乎日报第十二篇:为ArticleActivity加载布局
- Eclipse、IntelliJ IDEA常用的快捷键
- Revit开发在链接模型中使用ISelectionFilter
- LayoutAnimation与LayoutTransition
- 编程细节之 session命名 和 dispartcher与redirect选择
- 智能电网配网传输: 工业以太网交换机还是EPON?
- 正确使用 Android 性能分析工具——TraceView
- javascript写一个定时器