当前位置:网站首页>Idea is configured to connect to the remote database mysql, or Navicat fails to connect to the remote database (solved)
Idea is configured to connect to the remote database mysql, or Navicat fails to connect to the remote database (solved)
2022-04-23 08:39:00 【Bruce Lee who loves watching animation】
stay mysql Execute the command in the environment ( Authorize any remote computer to log in to the database ):
The process is as follows :
- Look at all current databases :
show databases;
- Get into mysql database :
use mysql;
- see mysql All the tables in the database :
update user set Host='%' where User='root';
- see user Table data :
select Host, User from user;
- modify user In the table Host:
update user set Host='%' where User='root';
- Last refresh :
flush privileges;
Navicat There are two ways to connect to the database :
Through the first SSH Connect to the server , Connect to the database in the server .


It can also be achieved directly in one step :

However, in this way, you need to set the firewall of the server to open, that is, the security group , And the data permission of the server should be modified so that all host users can access .
版权声明
本文为[Bruce Lee who loves watching animation]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230802283878.html
边栏推荐
猜你喜欢
随机推荐
洋桃電子STM32物聯網入門30步筆記一、HAL庫和標准庫的區別
Let the earth have less "carbon" and rest on the road
Go语言自学系列 | golang嵌套结构体
应纳税所得额
项目上传部分
让地球少些“碳”息 度能在路上
00后最关注的职业:公务员排第二,第一是?
增强现实技术是什么?能用在哪些地方?
数据可视化:使用Excel制作雷达图
Input / output system
一个必看的微信小程序开发指南1-基础知识了解
什么是RPC
Get the absolute path of the class according to the bytecode
lgb,xgb,cat k折交叉验证
Ear acupoint diagnosis and treatment essay 0421
二维01背包
根据字节码获取类的绝对路径
Kubernetes如何使用harbor拉去私有镜像
form中enctype属性
Go语言自学系列 | golang结构体指针


![[explanation] get ora-12838: cannot read / modify an object after modifying it in parallel](/img/7c/0adc0940b6d5c8a61d34bfa5f66ee7.png)





