当前位置:网站首页>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 进行连接,可以看到连接成功
边栏推荐
- 京东高级工程师开发十年,编写出:“亿级流量网站架构核心技术”
- Beats (filebeat, metricbeat), kibana, logstack tutorial of elastic stack
- 微服务实战|原生态实现服务的发现与调用
- Number structure (C language -- code with comments) -- Chapter 2, linear table (updated version)
- Enterprise level SaaS CRM implementation
- 知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
- VIM operation command Encyclopedia
- Pool de connexion redis personnalisé
- JDBC回顾
- Redis zadd导致的一次线上问题排查和处理
猜你喜欢
一篇详解带你再次重现《统计学习方法》——第二章、感知机模型
The channel cannot be viewed when the queue manager is running
Matplotlib swordsman line - first acquaintance with Matplotlib
「Redis源码系列」关于源码阅读的学习与思考
知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
Cloudreve自建云盘实践,我说了没人能限制得了我的容量和速度
[go practical basis] how to bind and use URL parameters in gin
【Go实战基础】gin 如何绑定与使用 url 参数
web安全与防御
Idea view bytecode configuration
随机推荐
Taking the upgrade of ByteDance internal data catalog architecture as an example, talk about the performance optimization of business system
Number structure (C language -- code with comments) -- Chapter 2, linear table (updated version)
Microservice practice | Eureka registration center and cluster construction
互联网API接口幂等设计
Actual combat of microservices | discovery and invocation of original ecosystem implementation services
Pdf document of distributed service architecture: principle + Design + practice, (collect and see again)
Data type case of machine learning -- using data to distinguish men and women based on Naive Bayesian method
自定义Redis连接池
What are the differences between TP5 and laravel
Timed thread pool implements request merging
[go practical basis] how can gin get the request parameters of get and post
知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
Probability is not yet. Look at statistical learning methods -- Chapter 4, naive Bayesian method
概率还不会的快看过来《统计学习方法》——第四章、朴素贝叶斯法
Matplotlib swordsman Tour - an artist tutorial to accommodate all rivers
Demand delineation executive summary
[staff] the lines and spaces of the staff (the nth line and the nth space in the staff | the plus N line and the plus N space on the staff | the plus N line and the plus N space below the staff | the
Knowledge points are very detailed (code is annotated) number structure (C language) -- Chapter 3, stack and queue
How to use pyqt5 to make a sensitive word detection tool
Attributes of classfile