当前位置:网站首页>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 进行连接,可以看到连接成功

边栏推荐
- 京东面试官问:LEFT JOIN关联表中用ON还是WHERE跟条件有什么区别
- CKEditor 4.10.1 上传图片提示“不正确的服务器响应” 问题解决
- Idea view bytecode configuration
- Oracle modify database character set
- oracle修改数据库字符集
- Microservice practice | Eureka registration center and cluster construction
- Don't look for it. All the necessary plug-ins for Chrome browser are here
- 知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
- Ora-12514 problem solving method
- Beats (filebeat, metricbeat), kibana, logstack tutorial of elastic stack
猜你喜欢

MySQL multi column in operation

The channel cannot be viewed when the queue manager is running

Actual combat of microservices | discovery and invocation of original ecosystem implementation services

【Go实战基础】如何安装和使用 gin

【Go实战基础】gin 如何验证请求参数

Chrome browser plug-in fatkun installation and introduction

Don't look for it. All the necessary plug-ins for Chrome browser are here

Data type case of machine learning -- using data to distinguish men and women based on Naive Bayesian method

A detailed explanation takes you to reproduce the statistical learning method again -- Chapter 2, perceptron model

微服务实战|声明式服务调用OpenFeign实践
随机推荐
Long summary (code with comments) number structure (C language) -- Chapter 4, string (Part 1)
Timed thread pool implements request merging
Cloud computing in my eyes - PAAS (platform as a service)
[go practical basis] how to bind and use URL parameters in gin
微服务实战|声明式服务调用OpenFeign实践
idea查看字节码配置
How to use PHP spoole to implement millisecond scheduled tasks
hystrix 实现请求合并
Microservice practice | declarative service invocation openfeign practice
ORA-12514问题解决方法
Matplotlib swordsman line - layout guide and multi map implementation (Updated)
Microservice practice | fuse hytrix initial experience
Chrome browser tag management plug-in – onetab
京东面试官问:LEFT JOIN关联表中用ON还是WHERE跟条件有什么区别
Bold prediction: it will become the core player of 5g
概率还不会的快看过来《统计学习方法》——第四章、朴素贝叶斯法
Amq6126 problem solving ideas
Redis zadd导致的一次线上问题排查和处理
远程连接IBM MQ报错AMQ4036解决方法
[go practical basis] how can gin get the request parameters of get and post