当前位置:网站首页>Navicat Premium连接问题--- Host ‘xxxxxxxx‘ is not allowed to connect to this MySQL server
Navicat Premium连接问题--- Host ‘xxxxxxxx‘ is not allowed to connect to this MySQL server
2022-06-27 18:43:00 【向qian看!】
1130 - 主机’xxxxxxxx’不允许连接到这个MySQL服务器
1130 - Host ‘xxxxxxxx’ is not allowed to connect to this MySQL server
. 改表法。
可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从"localhost"改称"%"
win+R输入CMD打开命令提示符输入mysql -uroot -p # -u后面接用户名 -p表示密码
mysql>use mysql;
mysql>update user set host = '%' where user = 'root';
mysql>select host, user from user;
mysql>flush privileges;
输入完运行无误之后便可以尝试连接了
边栏推荐
- This is the same as data collection. Can you define a parameter as last month or the previous day, and then use this parameter in SQL?
- Installing services for NFS
- Graduation design of police report convenience service platform based on wechat applet
- NVIDIA three piece environment configuration
- 一段时间没用思源,升级到最新的 24 版后反复显示数据加密问题
- Implementation string mystring
- Redis persistence
- [STL programming] [common competition] [Part 3]
- SQL报了一个不常见的错误,让新来的实习生懵了
- Oracle architecture summary
猜你喜欢

CSDN skill tree experience and product analysis (1)

Oracle architecture summary

Best practice: optimizing Postgres query performance (Part 2)

OpenSSL client programming: SSL session failure caused by an obscure function

NVIDIA three piece environment configuration

CocosCreator播放音频并同步进度

北汽制造全新皮卡曝光,安全、舒适一个不落

数据库引擎

灵活的IP网络测试工具——— X-Launch

优维HyperInsight:掘金164.94亿美元可观测市场的“金锄头”?
随机推荐
什么是堆栈?
muduo
Dictionary tree (review)
爱数课实验 | 第八期-新加坡房价预测模型构建
SQL报了一个不常见的错误,让新来的实习生懵了
Database optimization
Cerebral Cortex:从任务态和静息态脑功能连接预测儿童数学技能
Select auto increment or sequence for primary key selection?
Pycharm common functions - breakpoint debugging
本周二晚19:00战码先锋第8期直播丨如何多方位参与OpenHarmony开源贡献
Character interception triplets of data warehouse: substrb, substr, substring
Ble Bluetooth module nrf518/nrf281/nrf528/nrf284 chip scheme comparison
基于 TensorRT 的模型推理加速
Eval function, global, local variables
Graylog 新一代日志收集预警系统安装配置
[required reading for high-quality products] sub query of Oracle database in Linux system
Massive data attended the Lanzhou opengauss meetup (ECOLOGICAL NATIONAL trip) activity, enabling users to upgrade their applications with enterprise level databases
基于微信小程序的高校党员之家服务管理系统系统小程序#毕业设计,党员,积极分子,学习,打卡,论坛
Web APLS phase - Section 14 - local storage
How dbeaver restores and backs up databases