当前位置:网站首页>Solution to the problem that the root account of MySQL database cannot be logged in remotely
Solution to the problem that the root account of MySQL database cannot be logged in remotely
2022-07-06 03:59:00 【Terence full stack development】
Recently, after a new Tencent cloud server , Installed through the pagoda panel mysql database , Then use root User pass navicat Remote connection login failed .
The solution is as follows Two lines of code ok
MySQL5.7 and MySql8 Turn on root User remote access
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)

边栏推荐
- 51nod 1130 n factorial length V2 (Stirling approximation)
- 【按键消抖】基于FPGA的按键消抖模块开发
- Factors affecting user perception
- Mapping between QoE and KQI
- asp. Core is compatible with both JWT authentication and cookies authentication
- Failure causes and optimization methods of LTE CSFB
- C#(三十)之C#comboBox ListView treeView
- Thread sleep, thread sleep application scenarios
- Indicator system of KQI and KPI
- Cf464e the classic problem [shortest path, chairman tree]
猜你喜欢

Blue style mall website footer code

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

Facebook等大廠超十億用戶數據遭泄露,早該關注DID了

User experience index system

JS Vanke banner rotation chart JS special effect

Esp32 (based on Arduino) connects the mqtt server of emqx to upload information and command control

KS008基于SSM的新闻发布系统

Simple blog system

Microkernel structure understanding

自动化测试的好处
随机推荐
[PSO] Based on PSO particle swarm optimization, matlab simulation of the calculation of the lowest transportation cost of goods at material points, including transportation costs, agent conversion cos
自动化测试怎么规范部署?
KS003基于JSP和Servlet实现的商城系统
[practical exercise] face location model based on skin color
[analysis of variance] single factor analysis and multi factor analysis
Why do you want to start pointer compression?
Tips for using dm8huge table
记一次excel XXE漏洞
Hashcode and equals
【Qt5】Qt QWidget立刻出现并消失
Indicator system of KQI and KPI
No qualifying bean of type ‘......‘ available
在字节做测试5年,7月无情被辞,想给划水的兄弟提个醒
[Key shake elimination] development of key shake elimination module based on FPGA
Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
MySql数据库root账户无法远程登陆解决办法
JVM的手术刀式剖析——一文带你窥探JVM的秘密
Cubemx transplantation punctual atom LCD display routine
Blue Bridge Cup - Castle formula