当前位置:网站首页>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)

边栏推荐
- Differential GPS RTK thousand search
- asp. Core is compatible with both JWT authentication and cookies authentication
- 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
- [Key shake elimination] development of key shake elimination module based on FPGA
- Quick sort function in C language -- qsort
- 51nod 1130 n factorial length V2 (Stirling approximation)
- 如何修改表中的字段约束条件(类型,default, null等)
- C (thirty) C combobox listview TreeView
- Introduction to data types in MySQL
- Blue style mall website footer code
猜你喜欢

MySQL reads missing data from a table in a continuous period of time

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

Basic knowledge of binary tree, BFC, DFS

How do we make money in agriculture, rural areas and farmers? 100% for reference

【可调延时网络】基于FPGA的可调延时网络系统verilog开发

BUAA magpie nesting

C language -- structs, unions, enumerations, and custom types
![[practice] mathematics in lottery](/img/29/2ef2b545d92451cf083ee16e09ffb4.jpg)
[practice] mathematics in lottery

Facebook等大厂超十亿用户数据遭泄露,早该关注DID了

Custom event of C (31)
随机推荐
20、 EEPROM memory (AT24C02) (similar to AD)
Tips for using dm8huge table
Failure causes and optimization methods of LTE CSFB
Cubemx transplantation punctual atom LCD display routine
C (XXIX) C listbox CheckedListBox Imagelist
Data analysis Seaborn visualization (for personal use)
User experience index system
Flask learning and project practice 9: WTF form verification
Python book learning notes - Chapter 09 section 01 create and use classes
User perceived monitoring experience
ESP32_ FreeRTOS_ Arduino_ 1_ Create task
MySql数据库root账户无法远程登陆解决办法
80% of the diseases are caused by bad living habits. There are eight common bad habits, which are both physical and mental
判断当天是当月的第几周
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
How to modify field constraints (type, default, null, etc.) in a table
自动化测试怎么规范部署?
C#(二十八)之C#鼠标事件、键盘事件
SSTI template injection explanation and real problem practice