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

边栏推荐
- [staff] common symbols of staff (Hualian clef | treble clef | bass clef | rest | bar line)
- Required request body is missing:(跨域问题)
- 互联网API接口幂等设计
- 我服了,MySQL表500W行,居然有人不做分区?
- web安全与防御
- 洞见云原生|微服务及微服务架构浅析
- [staff] time sign and note duration (full note | half note | quarter note | eighth note | sixteenth note | thirty second note)
- 十年开发经验的程序员告诉你,你还缺少哪些核心竞争力?
- Solution to amq4036 error in remote connection to IBM MQ
- Chrome视频下载插件–Video Downloader for Chrome
猜你喜欢

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

Enterprise level SaaS CRM implementation
![[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)

队列管理器running状态下无法查看通道

Microservice practice | load balancing component and source code analysis

Taking the upgrade of ByteDance internal data catalog architecture as an example, talk about the performance optimization of business system

定时线程池实现请求合并

zk配置中心---Config Toolkit配置与使用

Programmers with ten years of development experience tell you, what core competitiveness do you lack?

Hystrix implements request consolidation
随机推荐
互联网API接口幂等设计
深入剖析JVM是如何执行Hello World的
CKEditor 4.10.1 上传图片提示“不正确的服务器响应” 问题解决
《统计学习方法》——第五章、决策树模型与学习(上)
MySQL事务
Microservice practice | fuse hytrix initial experience
机器学习之数据类型案例——基于朴素贝叶斯法,用数据辩男女
知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
概念到方法,绝了《统计学习方法》——第三章、k近邻法
[go practical basis] how to install and use gin
Required request body is missing:(跨域问题)
十年開發經驗的程序員告訴你,你還缺少哪些核心競爭力?
[go practical basis] how to set the route in gin
Chrome video download Plug-in – video downloader for Chrome
View the port of the application published by was
Redis 序列化 GenericJackson2JsonRedisSerializer和Jackson2JsonRedisSerializer的区别
Idea view bytecode configuration
Safety production early warning system software - Download safety production app software
Watermelon book -- Chapter 6 Support vector machine (SVM)
自定義Redis連接池