当前位置:网站首页>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 序列化 GenericJackson2JsonRedisSerializer和Jackson2JsonRedisSerializer的区别
- Cloud computing in my eyes - PAAS (platform as a service)
- 自定义Redis连接池
- 以字节跳动内部 Data Catalog 架构升级为例聊业务系统的性能优化
- Chrome浏览器标签管理插件–OneTab
- ORA-12514问题解决方法
- Difference between redis serialization genericjackson2jsonredisserializer and jackson2jsonredisserializer
- What are the differences between TP5 and laravel
- Bold prediction: it will become the core player of 5g
- Safety production early warning system software - Download safety production app software
猜你喜欢
I've taken it. MySQL table 500W rows, but someone doesn't partition it?
Bold prediction: it will become the core player of 5g
一篇详解带你再次重现《统计学习方法》——第二章、感知机模型
【Go实战基础】gin 如何验证请求参数
微服务实战|负载均衡组件及源码分析
Machine learning practice: is Mermaid a love movie or an action movie? KNN announces the answer
Chrome video download Plug-in – video downloader for Chrome
Beats (filebeat, metricbeat), kibana, logstack tutorial of elastic stack
Complete solution of servlet: inheritance relationship, life cycle, container, request forwarding and redirection, etc
Break the cocoon | one article explains what is the real cloud primordial
随机推荐
Who is better for Beijing software development? How to find someone to develop system software
Servlet全解:继承关系、生命周期、容器和请求转发与重定向等
"Interview high frequency question" is 1.5/5 difficult, and the classic "prefix and + dichotomy" application question
Redis 序列化 GenericJackson2JsonRedisSerializer和Jackson2JsonRedisSerializer的区别
DTM distributed transaction manager PHP collaboration client V0.1 beta release!!!
oracle修改数据库字符集
微服务实战|熔断器Hystrix初体验
Probability is not yet. Look at statistical learning methods -- Chapter 4, naive Bayesian method
以字节跳动内部 Data Catalog 架构升级为例聊业务系统的性能优化
Microservice practice | teach you to develop load balancing components hand in hand
Hystrix implements request consolidation
[go practical basis] how to bind and use URL parameters in gin
Solutions to Chinese garbled code in CMD window
Double non undergraduate students enter the factory, while I am still quietly climbing trees at the bottom (Part 1)
聊聊消息队列高性能的秘密——零拷贝技术
微服务实战|负载均衡组件及源码分析
十年开发经验的程序员告诉你,你还缺少哪些核心竞争力?
知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
Chrome user script manager tempermonkey monkey
[staff] common symbols of staff (Hualian clef | treble clef | bass clef | rest | bar line)