当前位置:网站首页>Navicat 远程连接Mysql报错1045 - Access denied for user ‘root‘@‘222.173.220.236‘ (using password: YES)
Navicat 远程连接Mysql报错1045 - Access denied for user ‘root‘@‘222.173.220.236‘ (using password: YES)
2022-07-02 06:34:00 【Janson666】
1.在百度云服务器上搭建MySQL 数据库,配置好用户名和密码后,可以实现本地登录数据库,但是远程采用Navigate 连接时报错:
1045 - Access denied for user ‘root’@‘222.173.220.236’ (using password: YES)
2.原因分析:没有远程用户连接授权
3.远程连接进行授权:
GRANT ALL PRIVILEGES ON *.* TO 'mysql用户名(如:root)'@'%' IDENTIFIED BY 'mysql密码(如:root)' WITH GRANT OPTION;

4. 授权后刷新权限
FLUSH PRIVILEGES;

5.重新尝试用 Navigate 进行连接,可以看到连接成功

边栏推荐
- Knowledge points are very detailed (code is annotated) number structure (C language) -- Chapter 3, stack and queue
- [go practical basis] gin efficient artifact, how to bind parameters to structures
- 机器学习之数据类型案例——基于朴素贝叶斯法,用数据辩男女
- 自定义Redis连接池
- 破茧|一文说透什么是真正的云原生
- I've taken it. MySQL table 500W rows, but someone doesn't partition it?
- Chrome用户脚本管理器-Tampermonkey 油猴
- Chrome user script manager tempermonkey monkey
- Cloud computing in my eyes - PAAS (platform as a service)
- Watermelon book -- Chapter 5 neural network
猜你喜欢

破茧|一文说透什么是真正的云原生

DTM distributed transaction manager PHP collaboration client V0.1 beta release!!!

Enterprise level SaaS CRM implementation

微服务实战|负载均衡组件及源码分析

Chrome视频下载插件–Video Downloader for Chrome

Beats (filebeat, metricbeat), kibana, logstack tutorial of elastic stack

Oracle modify database character set

西瓜书--第六章.支持向量机(SVM)

MySQL multi column in operation

知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
随机推荐
《统计学习方法》——第五章、决策树模型与学习(上)
I've taken it. MySQL table 500W rows, but someone doesn't partition it?
Amq6126 problem solving ideas
Oracle modify database character set
Matplotlib剑客行——容纳百川的艺术家教程
西瓜书--第五章.神经网络
ClassFile - Attributes - Code
The channel cannot be viewed when the queue manager is running
Oracle delete tablespace and user
定时线程池实现请求合并
Matplotlib swordsman line - first acquaintance with Matplotlib
概率还不会的快看过来《统计学习方法》——第四章、朴素贝叶斯法
Hystrix implements request consolidation
Ora-12514 problem solving method
Knowledge points are very detailed (code is annotated) number structure (C language) -- Chapter 3, stack and queue
队列管理器running状态下无法查看通道
Who is better for Beijing software development? How to find someone to develop system software
Chrome user script manager tempermonkey monkey
Micro service practice | introduction and practice of zuul, a micro service gateway
Double non undergraduate students enter the factory, while I am still quietly climbing trees at the bottom (Part 1)