当前位置:网站首页>Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
2022-07-06 03:58:00 【Terence full Stack Development】
Après le remplacement récent de Tencent Cloud Server,Installé par le panneau de la pagodemysql Base de données,Après utilisationrootL'utilisateur passe parnavicatImpossible de se connecter à distance.
La solution est la suivante: Deux lignes de codeok
MySQL5.7EtMySql8 Ouvertroot Accès à distance de l'utilisateur
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)
边栏推荐
- WPF effect Article 191 box selection listbox
- Python book learning notes - Chapter 09 section 01 create and use classes
- User datagram protocol UDP
- Record the pit of NETCORE's memory surge
- C language circular statement
- C form application of C (27)
- Cf603e pastoral oddities [CDQ divide and conquer, revocable and search set]
- Développement d'un module d'élimination des bavardages à clé basé sur la FPGA
- C#(二十八)之C#鼠标事件、键盘事件
- ESP32_ FreeRTOS_ Arduino_ 1_ Create task
猜你喜欢
Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
On Data Mining
MySQL reads missing data from a table in a continuous period of time
自动化测试怎么规范部署?
Redis (replicate dictionary server) cache
【可调延时网络】基于FPGA的可调延时网络系统verilog开发
Blue Bridge Cup - day of week
Interface idempotency
2.13 weekly report
【leetcode】1189. Maximum number of "balloons"
随机推荐
潘多拉 IOT 开发板学习(HAL 库)—— 实验9 PWM输出实验(学习笔记)
Factors affecting user perception
Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
【按键消抖】基于FPGA的按键消抖模块开发
Overview of super-resolution reconstruction of remote sensing images
Serial port-rs232-rs485-ttl
Failure causes and optimization methods of LTE CSFB
ESP32_ FreeRTOS_ Arduino_ 1_ Create task
Ks003 mall system based on JSP and Servlet
Ipv4中的A 、B、C类网络及子网掩码
Flask learning and project practice 8: introduction and use of cookies and sessions
Oracle ORA error message
Network security - Security Service Engineer - detailed summary of skill manual (it is recommended to learn and collect)
[meisai] meisai thesis reference template
Record the pit of NETCORE's memory surge
Security xxE vulnerability recurrence (XXe Lab)
Introduction to data types in MySQL
Exchange bottles (graph theory + thinking)
Image super resolution using deep revolutionary networks (srcnn) interpretation and Implementation
Quick sort function in C language -- qsort