当前位置:网站首页>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)
边栏推荐
- MySQL 中的数据类型介绍
- Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
- Interface idempotency
- RT thread -- FTP of LwIP (2)
- MySql数据库root账户无法远程登陆解决办法
- Esp32 (based on Arduino) connects the mqtt server of emqx to upload information and command control
- [Qt5] QT QWidget immediately appears and disappears
- Prime protocol announces cross chain interconnection applications on moonbeam
- Serial port-rs232-rs485-ttl
- Custom event of C (31)
猜你喜欢
Alibaba testers use UI automated testing to achieve element positioning
C#(三十一)之自定义事件
记一次excel XXE漏洞
[001] [stm32] how to download STM32 original factory data
In Net 6 CS more concise method
Blue Bridge Cup - day of week
LTE CSFB test analysis
2.13 weekly report
Multi project programming minimalist use case
【FPGA教程案例11】基于vivado核的除法器设计与实现
随机推荐
Facebook等大厂超十亿用户数据遭泄露,早该关注DID了
Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
How can programmers resist the "three poisons" of "greed, anger and ignorance"?
JVM的手术刀式剖析——一文带你窥探JVM的秘密
[001] [stm32] how to download STM32 original factory data
[Qt5] QT QWidget immediately appears and disappears
WPF effect Article 191 box selection listbox
20、 EEPROM memory (AT24C02) (similar to AD)
Record the pit of NETCORE's memory surge
Oracle ORA error message
Detailed explanation of serialization and deserialization
P7735-[noi2021] heavy and heavy edges [tree chain dissection, line segment tree]
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
UDP reliable transport protocol (quic)
Hashcode and equals
C (XXIX) C listbox CheckedListBox Imagelist
An article will give you a comprehensive understanding of the internal and external components of "computer"
Flask learning and project practice 9: WTF form verification
Remote Sensing Image Super-resolution and Object Detection: Benchmark and State of the Art
On Data Mining