当前位置:网站首页>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等大廠超十億用戶數據遭泄露,早該關注DID了
- [adjustable delay network] development of FPGA based adjustable delay network system Verilog
- Schnuka: visual positioning system working principle of visual positioning system
- mysql关于自增长增长问题
- Esp32 (based on Arduino) connects the mqtt server of emqx to upload information and command control
- Cubemx transplantation punctual atom LCD display routine
- [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
- 51nod 1130 n factorial length V2 (Stirling approximation)
- C#(三十一)之自定义事件
- 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
猜你喜欢
Cf464e the classic problem [shortest path, chairman tree]
[FPGA tutorial case 11] design and implementation of divider based on vivado core
Multi project programming minimalist use case
Redis (replicate dictionary server) cache
Serial port-rs232-rs485-ttl
【leetcode】1189. Maximum number of "balloons"
Esp32 (based on Arduino) connects the mqtt server of emqx to upload information and command control
Blue Bridge Cup - Castle formula
How to standardize the deployment of automated testing?
自动化测试的好处
随机推荐
math_ Derivative function derivation of limit & differential & derivative & derivative / logarithmic function (derivative definition limit method) / derivative formula derivation of exponential functi
Crawler of explanation and application of agency theory
Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
C mouse event and keyboard event of C (XXVIII)
Ybtoj coloring plan [tree chain dissection, segment tree, tarjan]
[optimization model] Monte Carlo method of optimization calculation
AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
【Qt5】Qt QWidget立刻出现并消失
自动化测试怎么规范部署?
简易博客系统
Schnuka: 3D vision detection application industry machine vision 3D detection
Benefits of automated testing
20、 EEPROM memory (AT24C02) (similar to AD)
Ethernet port &arm & MOS &push-pull open drain &up and down &high and low sides &time domain and frequency domain Fourier
Database, relational database and NoSQL non relational database
Tips for using dm8huge table
Recommended papers on remote sensing image super-resolution
[FPGA tutorial case 12] design and implementation of complex multiplier based on vivado core
[American competition] mathematical terms
User datagram protocol UDP