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

边栏推荐
- 自定義Redis連接池
- 十年開發經驗的程序員告訴你,你還缺少哪些核心競爭力?
- 微服务实战|手把手教你开发负载均衡组件
- Chrome浏览器标签管理插件–OneTab
- Enterprise level SaaS CRM implementation
- Solutions to Chinese garbled code in CMD window
- Cloud computing in my eyes - PAAS (platform as a service)
- Required request body is missing:(跨域问题)
- 一篇详解带你再次重现《统计学习方法》——第二章、感知机模型
- Knife4j 2.X版本文件上传无选择文件控件问题解决
猜你喜欢

Matplotlib剑客行——布局指南与多图实现(更新)
![[staff] time mark and note duration (staff time mark | full note rest | half note rest | quarter note rest | eighth note rest | sixteenth note rest | thirty second note rest)](/img/7f/2cd789339237b7a881bfed7b7545a9.jpg)
[staff] time mark and note duration (staff time mark | full note rest | half note rest | quarter note rest | eighth note rest | sixteenth note rest | thirty second note rest)

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

Hystrix implements request consolidation

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

Chrome browser tag management plug-in – onetab

微服务实战|Eureka注册中心及集群搭建

ORA-12514问题解决方法

Matplotlib swordsman line - layout guide and multi map implementation (Updated)

The channel cannot be viewed when the queue manager is running
随机推荐
Ora-12514 problem solving method
Double non undergraduate students enter the factory, while I am still quietly climbing trees at the bottom (Part 1)
Solution to amq4036 error in remote connection to IBM MQ
别找了,Chrome浏览器必装插件都在这了
"Interview high frequency question" is 1.5/5 difficult, and the classic "prefix and + dichotomy" application question
自定義Redis連接池
[go practical basis] how can gin get the request parameters of get and post
Matplotlib剑客行——初相识Matplotlib
Supplier selection and prequalification of Oracle project management system
微服务实战|熔断器Hystrix初体验
Jd.com interviewer asked: what is the difference between using on or where in the left join association table and conditions
Microservice practice | declarative service invocation openfeign practice
Chrome浏览器标签管理插件–OneTab
MySql报错:unblock with mysqladmin flush-hosts
企业级SaaS CRM实现
In depth analysis of how the JVM executes Hello World
定时线程池实现请求合并
Redis 序列化 GenericJackson2JsonRedisSerializer和Jackson2JsonRedisSerializer的区别
What is the function of laravel facade
zk配置中心---Config Toolkit配置与使用