当前位置:网站首页>Solve the problem of Navicat connecting to the database
Solve the problem of Navicat connecting to the database
2022-06-30 03:46:00 【Where you go, where you climb】
One 、 Check whether the port is 3306
dos Window input command :mysql -uroot -p

Then the input :show global variables like 'port';

Two 、 Whether to add the port number to the firewall
2.1 Inbound rules -- Double click new rule


2.2 Enter the port number :3306




3、 ... and 、 appear 1130 error

resolvent :
3.1 open dos Command window , Sign in :mysql -uroot -p

3.2 Input use mysql ;

3.3 see mysql User information of the service ( user name , Accessible ip) Input :select user, host from user;
3.4 user representative mysql Service accessible users ,host Run on behalf of the user in the specified ip Visit (localhost, Indicating the machine ) modify root Users are allowed to access... On the task machine update user set host='%' where user='root';

3.5 Then change the remote connection settings command :GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ IDENTIFIED BY ‘root’ WITH GRANT OPTION;
3.6 Refresh user rights , send root The newly set permissions can take effect flush privileges;

3.7 Successful connection

边栏推荐
- Play with algorithm interview together, nanny level strategy (with high-definition codeless algorithm summary map), recommended collection
- 解决navicat连接数据库遇到的问题
- 【笔记】AB测试和方差分析
- Node-RED系列(二八):基于OPC UA节点与西门子PLC进行通讯
- [personal summary] learning plan
- 云原生入门+容器概念介绍
- 你清楚AI、数据库与计算机体系
- 【力扣刷题总结】数据库题目按知识点分类总结(持续更新/简单和中等题已完结)
- Interface test tool postman
- 云原生——Web实时通信技术之Websocket
猜你喜欢

A GPU approach to particle physics

Number of students from junior college to Senior College (III)

X Book 6.89 shield unidbg calling method

深入浅出掌握grpc通信框架

绿色新动力,算力“零”负担——JASMINER X4系列火爆热销中

TiDB 6.0:讓 TSO 更高效丨TiDB Book Rush

实用调试技巧

51 single chip microcomputer indoor environment monitoring system, mq-2 smoke sensor and DHT11 temperature and humidity sensor, schematic diagram, C programming and simulation

Is the largest layoff and salary cut on the internet coming?
![[summary of skimming questions] database questions are summarized by knowledge points (continuous update / simple and medium questions have been completed)](/img/89/fc02ce355c99031623175c9f351790.jpg)
[summary of skimming questions] database questions are summarized by knowledge points (continuous update / simple and medium questions have been completed)
随机推荐
Stc89c52/90c516rd/89c516rd DHT11 temperature and humidity sensor drive code
Stc89c52/90c516rd/89c516rd ADC0832 ADC driver code
Litjson parses the generated JSON file and reads the dictionary in the JSON file
Chapter 2 control structure and function (programming problem)
UML图与List集合
ThingsBoard教程(二三):在规则链中计算二个设备的温度差
专升本高数(三)
C#【高级篇】 C# 泛型(Generic)【需进一步补充:泛型接口、泛型事件的实例】
Practical debugging skills
【论文阅读|深读】Role2Vec:Role-Based Graph Embeddings
Buffer pool of MySQL notes
Vscode+anaconda+jupyter reports an error: kernel did with exit code
[punch in - Blue Bridge Cup] day 2 --- format output format, ASCII
dotnet-exec 0.5.0 released
Tidb 6.0: making Tso more efficient tidb Book rush
共124篇!墨天轮“高可用架构”干货文档分享(含Oracle、MySQL、PG)
C # [advanced chapter] C # anonymous method [lambda expression to be supplemented...]
如何利用FME 创建自己的功能软件
Deep learning: implementation skills of deep neural network
[punch in - Blue Bridge Cup] day 1 --% 7F format output