当前位置:网站首页>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)
边栏推荐
- MySQL reads missing data from a table in a continuous period of time
- Basic concepts of LTE user experience
- [Key shake elimination] development of key shake elimination module based on FPGA
- Serial port-rs232-rs485-ttl
- Alibaba testers use UI automated testing to achieve element positioning
- MySQL master-slave replication
- Cf464e the classic problem [shortest path, chairman tree]
- An article will give you a comprehensive understanding of the internal and external components of "computer"
- asp. Core is compatible with both JWT authentication and cookies authentication
- Custom event of C (31)
猜你喜欢
User experience index system
C#(二十八)之C#鼠标事件、键盘事件
Benefits of automated testing
LTE CSFB test analysis
Cubemx transplantation punctual atom LCD display routine
C language -- structs, unions, enumerations, and custom types
自动化测试怎么规范部署?
Thread sleep, thread sleep application scenarios
MySQL reads missing data from a table in a continuous period of time
[Key shake elimination] development of key shake elimination module based on FPGA
随机推荐
Indicator system of KQI and KPI
WPF效果第一百九十一篇之框选ListBox
DM8 backup set deletion
Blue style mall website footer code
AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
20、 EEPROM memory (AT24C02) (similar to AD)
Codeforces Global Round 19
[American competition] mathematical terms
C#(三十)之C#comboBox ListView treeView
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
Ybtoj coloring plan [tree chain dissection, segment tree, tarjan]
Mathematical modeling regression analysis relationship between variables
简述C语言中的符号和链接库
在字节做测试5年,7月无情被辞,想给划水的兄弟提个醒
TCP/IP协议里面的网关地址和ip地址有什么区别?
阿里测试师用UI自动化测试实现元素定位
[Key shake elimination] development of key shake elimination module based on FPGA
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
asp. Core is compatible with both JWT authentication and cookies authentication