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

边栏推荐
- KS003基于JSP和Servlet实现的商城系统
- AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
- On Data Mining
- LTE CSFB test analysis
- Ybtoj coloring plan [tree chain dissection, segment tree, tarjan]
- Basic concepts of LTE user experience
- How to modify field constraints (type, default, null, etc.) in a table
- JS Vanke banner rotation chart JS special effect
- Record the pit of NETCORE's memory surge
- [introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
猜你喜欢

Exchange bottles (graph theory + thinking)

Redis (replicate dictionary server) cache

2.13 weekly report

Serial port-rs232-rs485-ttl

C (thirty) C combobox listview TreeView

C#(三十一)之自定义事件

No qualifying bean of type ‘......‘ available

在字节做测试5年,7月无情被辞,想给划水的兄弟提个醒

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

Facebook等大厂超十亿用户数据遭泄露,早该关注DID了
随机推荐
在字节做测试5年,7月无情被辞,想给划水的兄弟提个醒
Schnuka: 3D vision detection application industry machine vision 3D detection
How to modify field constraints (type, default, null, etc.) in a table
[Key shake elimination] development of key shake elimination module based on FPGA
Développement d'un module d'élimination des bavardages à clé basé sur la FPGA
User experience index system
【按鍵消抖】基於FPGA的按鍵消抖模塊開發
【PSO】基于PSO粒子群优化的物料点货物运输成本最低值计算matlab仿真,包括运输费用、代理人转换费用、运输方式转化费用和时间惩罚费用
KS003基于JSP和Servlet实现的商城系统
[FPGA tutorial case 12] design and implementation of complex multiplier based on vivado core
Cf464e the classic problem [shortest path, chairman tree]
Facebook等大厂超十亿用户数据遭泄露,早该关注DID了
Basic knowledge of binary tree, BFC, DFS
【FPGA教程案例11】基于vivado核的除法器设计与实现
【FPGA教程案例12】基于vivado核的复数乘法器设计与实现
Ks008 SSM based press release system
Python book learning notes - Chapter 09 section 01 create and use classes
No qualifying bean of type ‘......‘ available
WPF效果第一百九十一篇之框选ListBox
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