当前位置:网站首页>1130 - host XXX is not allowed to connect to this MySQL server error in Navicat remote connection database
1130 - host XXX is not allowed to connect to this MySQL server error in Navicat remote connection database
2022-04-23 12:58:00 【@Natural and unrestrained】
solve : Navicat Remote connection database error 1130- Host xxx is not allowed to connect to this MySQL server
Problem description
Use Navicat Appears when connecting to a remote database 1130 error , Then try it again SSH user name + Password to connect , Still can't connect . Later, it was found that it was because of Mysql database root User does not have permission to open .
terms of settlement
Into the database
mysql -u root -p
Switch to mysql
use mysql;
Set up root User's connection permission
% It means to allow all IP Connect to database
update user set host = '%' where user ='root';
Refresh the permissions
flush privileges;
Complete the above steps , Reuse Navicat Connect , You can successfully enter .
above .
版权声明
本文为[@Natural and unrestrained]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231256482671.html
边栏推荐
猜你喜欢
Date time type in database
Packet capturing and sorting -- TCP protocol [8]
mysql8安装
HQL find the maximum value in a range
Summary of JVM knowledge points - continuously updated
Aviation core technology sharing | overview of safety characteristics of acm32 MCU
【csnote】ER图
Free and open source intelligent charging pile SaaS cloud platform of Internet of things
SSM framework series - data source configuration day2-1
标签与路径
随机推荐
21 days learning mongodb notes
MySQL supports IP access
Pytorch: a pit about the implementation of gradreverselayer
Connect orcale
31. 下一个排列
风尚云网学习-input属性总结
98. Error s.e.errormvcautoconfiguration $staticview reported by freemaker framework: cannot render error page for request
在线计算过往日期天数,计算活了多少天
Trier les principales utilisations de l'Agent IP réseau
Use of Presto date function
Free and open source intelligent charging pile SaaS cloud platform of Internet of things
PHP generates JSON to process Chinese
HQL statement tuning
Record the problems encountered in using v-print
数据库中的日期时间类型
Go language slicing operation
Golang implements a five insurance and one gold calculator with web interface
Homomorphic encryption technology learning
[daily question] chessboard question
SSM framework series - annotation development day2-2