当前位置:网站首页>MySql數據庫root賬戶無法遠程登陸解决辦法
MySql數據庫root賬戶無法遠程登陸解决辦法
2022-07-06 03:58:00 【Terence全棧開發】
最近換了新的騰訊雲服務器後,通過寶塔面板安裝了mysql 數據庫,之後使用root用戶通過navicat遠程連接登錄不了。
解决辦法如下 兩行代碼ok
MySQL5.7和MySql8 開啟root 用戶遠程訪問
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)
边栏推荐
- Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
- [adjustable delay network] development of FPGA based adjustable delay network system Verilog
- Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
- Hashcode and equals
- [FPGA tutorial case 11] design and implementation of divider based on vivado core
- Custom event of C (31)
- BUAA calculator (expression calculation - expression tree implementation)
- Python book learning notes - Chapter 09 section 01 create and use classes
- Why do you want to start pointer compression?
- AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
猜你喜欢
Exchange bottles (graph theory + thinking)
Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
C (thirty) C combobox listview TreeView
Custom event of C (31)
Security xxE vulnerability recurrence (XXe Lab)
Align items and align content in flex layout
C language circular statement
Network security - Security Service Engineer - detailed summary of skill manual (it is recommended to learn and collect)
Blue Bridge Cup - day of week
【FPGA教程案例11】基于vivado核的除法器设计与实现
随机推荐
asp. Core is compatible with both JWT authentication and cookies authentication
SSTI template injection explanation and real problem practice
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
[introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
【leetcode】22. bracket-generating
Conditionally [jsonignore]
[Massey] Massey font format and typesetting requirements
C (thirty) C combobox listview TreeView
Prime Protocol宣布在Moonbeam上的跨链互连应用程序
Facebook等大厂超十亿用户数据遭泄露,早该关注DID了
Développement d'un module d'élimination des bavardages à clé basé sur la FPGA
Schnuka: 3D vision detection application industry machine vision 3D detection
Oracle ORA error message
Mathematical modeling regression analysis relationship between variables
BUAA magpie nesting
【可调延时网络】基于FPGA的可调延时网络系统verilog开发
Recommended papers on remote sensing image super-resolution
Use js to complete an LRU cache
User datagram protocol UDP
DM8 archive log file manual switching