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

边栏推荐
- In Net 6 CS more concise method
- [introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
- Do you know cookies, sessions, tokens?
- Overview of super-resolution reconstruction of remote sensing images
- math_极限&微分&导数&微商/对数函数的导函数推导(导数定义极限法)/指数函数求导公式推导(反函数求导法则/对数求导法)
- Schnuka: visual positioning system working principle of visual positioning system
- Oracle ORA error message
- Basic knowledge of binary tree, BFC, DFS
- Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
- Image super resolution using deep revolutionary networks (srcnn) interpretation and Implementation
猜你喜欢

User datagram protocol UDP

Blue style mall website footer code

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

登录mysql输入密码时报错,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES

Alibaba testers use UI automated testing to achieve element positioning

Proof of Stirling formula
![P7735-[noi2021] heavy and heavy edges [tree chain dissection, line segment tree]](/img/b1/dbfc42d66548476300501dd839abef.jpg)
P7735-[noi2021] heavy and heavy edges [tree chain dissection, line segment tree]

Interface idempotency

How to modify field constraints (type, default, null, etc.) in a table

C#(二十七)之C#窗体应用
随机推荐
ESP32_ FreeRTOS_ Arduino_ 1_ Create task
[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
JS Vanke banner rotation chart JS special effect
在 .NET 6 中使用 Startup.cs 更简洁的方法
Exchange bottles (graph theory + thinking)
Differential GPS RTK thousand search
JVM的手术刀式剖析——一文带你窥探JVM的秘密
Flask learning and project practice 8: introduction and use of cookies and sessions
[introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
How do we make money in agriculture, rural areas and farmers? 100% for reference
LTE CSFB test analysis
潘多拉 IOT 开发板学习(HAL 库)—— 实验9 PWM输出实验(学习笔记)
Pytoch foundation - (2) mathematical operation of tensor
【按鍵消抖】基於FPGA的按鍵消抖模塊開發
Conditionally [jsonignore]
asp. Core is compatible with both JWT authentication and cookies authentication
Cf464e the classic problem [shortest path, chairman tree]
cookie,session,Token 这些你都知道吗?
math_ Derivative function derivation of limit & differential & derivative & derivative / logarithmic function (derivative definition limit method) / derivative formula derivation of exponential functi
Do you know cookies, sessions, tokens?