当前位置:网站首页>Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
2022-07-06 03:58:00 【Terence full Stack Development】
Après le remplacement récent de Tencent Cloud Server,Installé par le panneau de la pagodemysql Base de données,Après utilisationrootL'utilisateur passe parnavicatImpossible de se connecter à distance.
La solution est la suivante: Deux lignes de codeok
MySQL5.7EtMySql8 Ouvertroot Accès à distance de l'utilisateur
mysql> create user 'root'@'%' identified by '1234';
Query OK, 0 rows affected (0.02 sec)
mysql> grant all on *.* to 'root'@'%';
Query OK, 0 rows affected (0.02 sec)
边栏推荐
- 【leetcode】1189. Maximum number of "balloons"
- Benefits of automated testing
- Cf464e the classic problem [shortest path, chairman tree]
- Mapping between QoE and KQI
- C#(二十七)之C#窗体应用
- 【PSO】基于PSO粒子群优化的物料点货物运输成本最低值计算matlab仿真,包括运输费用、代理人转换费用、运输方式转化费用和时间惩罚费用
- MySQL about self growth
- MySQL 中的数据类型介绍
- /usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
- Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
猜你喜欢
Redis (replicate dictionary server) cache
C mouse event and keyboard event of C (XXVIII)
【按鍵消抖】基於FPGA的按鍵消抖模塊開發
[introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
Security xxE vulnerability recurrence (XXe Lab)
No qualifying bean of type ‘......‘ available
登录mysql输入密码时报错,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES
How does technology have the ability to solve problems perfectly
自动化测试怎么规范部署?
Factors affecting user perception
随机推荐
【按键消抖】基于FPGA的按键消抖模块开发
DM8 archive log file manual switching
C#(三十)之C#comboBox ListView treeView
Flask learning and project practice 8: introduction and use of cookies and sessions
Interface idempotency
C (thirty) C combobox listview TreeView
[Massey] Massey font format and typesetting requirements
JVM的手术刀式剖析——一文带你窥探JVM的秘密
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
Blue Bridge Cup - Castle formula
cookie,session,Token 这些你都知道吗?
自动化测试怎么规范部署?
80% of the diseases are caused by bad living habits. There are eight common bad habits, which are both physical and mental
阿里测试师用UI自动化测试实现元素定位
Database, relational database and NoSQL non relational database
KS008基于SSM的新闻发布系统
Why do you want to start pointer compression?
Ybtoj coloring plan [tree chain dissection, segment tree, tarjan]
asp. Core is compatible with both JWT authentication and cookies authentication
Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes