当前位置:网站首页>Navicat premium connection problem --- host 'XXXXXXXX' is not allowed to connect to this MySQL server
Navicat premium connection problem --- host 'XXXXXXXX' is not allowed to connect to this MySQL server
2022-06-27 20:55:00 【Look at Qian!】
1130 - host ’xxxxxxxx’ Connection to this is not allowed MySQL The server
1130 - Host ‘xxxxxxxx’ is not allowed to connect to this MySQL server
. Modified table method .
Maybe your account doesn't allow remote login , Only in localhost. At this time, as long as localhost The computer of , Log in mysql after , change “mysql” In the database “user” Exterior and interior “host” term , from "localhost" rename "%"
win+R Input CMD Open the command prompt and type mysql -uroot -p # -u Followed by the user name -p The password
mysql>use mysql;
mysql>update user set host = '%' where user = 'root';
mysql>select host, user from user;
mysql>flush privileges;
You can try to connect after the input is correct
边栏推荐
猜你喜欢

花了6个月时间完成本科优秀毕业设计,我做了什么?

一场分销裂变活动,不止是发发朋友圈这么简单

It took me 6 months to complete the excellent graduation project of undergraduate course. What have I done?

Csdn Skills Tree use Experience and Product Analysis (1)

Redis persistence

Safety is the last word, Volvo xc40 recharge

Cloud native Security Guide: learn kubernetes attack and defense from scratch

Explore gaussdb and listen to what customers and partners say

CSDN 技能树使用体验与产品分析(1)
一段时间没用思源,升级到最新的 24 版后反复显示数据加密问题
随机推荐
CSDN 技能树使用体验与产品分析(1)
Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
No wonder people chose apifox instead of postman
花了6个月时间完成本科优秀毕业设计,我做了什么?
云原生安全指南: 从零开始学 Kubernetes 攻防
Logcli Loki command line tool
SQL audit platform permission module introduction and account creation tutorial
Linux system plays Oracle database multi table query connection query with a smile
OpenSSL client programming: SSL session failure caused by an obscure function
What is a stack?
Pfsense plus22.01 Chinese customized version release
Batch insert data using MySQL bulkloader
Backtracking related issues
安全高效,非接触“刷手”身份识别助力疫情防控
Database optimization
BLE蓝牙模块NRF518/NRF281/NRF528/NRF284芯片方案对比
Summary of redis big key problem handling
CocosCreator播放音频并同步进度
Dictionary tree (review)
最佳实践:优化Postgres查询性能(下)