当前位置:网站首页>Navicat MySQL连接Linux下MySQL的及2003错误解决方案
Navicat MySQL连接Linux下MySQL的及2003错误解决方案
2022-04-21 18:55:00 【万里长江雪】
Navicat MySQL连接Linux下MySQL的及2003错误解决方案
1.首先登录mysql

2.为用户授权——需要在mysql里面执行以下语句(开放mysql远程权限)
use mysql;
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;
3.打开Navicat——编辑连接——点击连接测试
4.提示2003错误
5.注释bind-address = 127.0.0.1
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
将bind-address = 127.0.0.1注释掉(即在行首加#),如下:
6.重启linux
reboot
7.再用Navicat连接mysql
成功

版权声明
本文为[万里长江雪]所创,转载请带上原文链接,感谢
https://blog.csdn.net/fwdwqdwq/article/details/124324563
边栏推荐
- 论持续发展创客教育的意义
- ArrayList && { }
- The central bank defines the key points of payment supervision in 2022, and all platform enterprises should pay attention to clearing risks
- 帧率、码率、分辨率、清晰度概念
- MKL库矩阵乘法
- Digital IC tutorial 02 quartz prime and Modelsim installation tutorial
- Log4j log usage
- TypeScript快速上手,class,public,private,extends
- LeetCode1765. 地图中的最高点(BFS)
- Major event review Carnival link construction
猜你喜欢
随机推荐
ClickHouse安装配置
毕业三年,一事无成,被迫回老家,一个决定改变一生。
【js学习笔记四十】复杂工厂模式
手把手教会你搭建组件与应用
【ES6】let、const、解构赋值、模板字符串
Work summary! 15 suggestions for log printing
Kotlin | 关于 Lazy ,你应该了解的这些事
[continuous update] C # common problems and their solutions (vs2019)
I feel flustered when I eat good food
Kotlin | these things you should know about lazy
一文读懂PlatoFarm新经济模型以及生态进展
ubutnu安装go
低密度脂蛋白研究丨LDL-C含量检测试剂盒方案
MKL库矩阵乘法
无线蓝牙耳机哪款比较好用?2022蓝牙耳机推荐
LeetCode1765. 地图中的最高点(BFS)
解读自主形机器人的责任感
为什么你做数据分析没思路?
The video course "vite Learning Guide - webify deployment project based on Tencent cloud" was launched "cloud + community"
Daily question series: shuffle








