当前位置:网站首页>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)
边栏推荐
- No qualifying bean of type ‘......‘ available
- 简述C语言中的符号和链接库
- Microkernel structure understanding
- Security xxE vulnerability recurrence (XXe Lab)
- SSTI template injection explanation and real problem practice
- Cubemx transplantation punctual atom LCD display routine
- After five years of testing in byte, I was ruthlessly dismissed in July, hoping to wake up my brother who was paddling
- Ks003 mall system based on JSP and Servlet
- Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
- [001] [stm32] how to download STM32 original factory data
猜你喜欢
No qualifying bean of type ‘......‘ available
【FPGA教程案例11】基于vivado核的除法器设计与实现
C mouse event and keyboard event of C (XXVIII)
Multi project programming minimalist use case
[practice] mathematics in lottery
Recommended papers on remote sensing image super-resolution
KS008基于SSM的新闻发布系统
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
Factors affecting user perception
How do we make money in agriculture, rural areas and farmers? 100% for reference
随机推荐
Hashcode and equals
【FPGA教程案例12】基于vivado核的复数乘法器设计与实现
MySql数据库root账户无法远程登陆解决办法
C#(二十八)之C#鼠标事件、键盘事件
mysql关于自增长增长问题
Differential GPS RTK thousand search
Detailed explanation of serialization and deserialization
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
TCP/IP协议里面的网关地址和ip地址有什么区别?
Ybtoj coloring plan [tree chain dissection, segment tree, tarjan]
After five years of testing in byte, I was ruthlessly dismissed in July, hoping to wake up my brother who was paddling
Overview of super-resolution reconstruction of remote sensing images
Maxay paper latex template description
有条件地 [JsonIgnore]
How can programmers resist the "three poisons" of "greed, anger and ignorance"?
Crawler of explanation and application of agency theory
[FPGA tutorial case 11] design and implementation of divider based on vivado core
Pytoch foundation - (1) initialization of tensors
Blue style mall website footer code
在 .NET 6 中使用 Startup.cs 更简洁的方法