当前位置:网站首页>MySql数据库root账户无法远程登陆解决办法
MySql数据库root账户无法远程登陆解决办法
2022-07-06 03:53: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)

边栏推荐
- RT-Thread--Lwip之FTP(2)
- 1. New project
- Network security - Security Service Engineer - detailed summary of skill manual (it is recommended to learn and collect)
- MySQL reads missing data from a table in a continuous period of time
- 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
- 2.2 STM32 GPIO操作
- [Key shake elimination] development of key shake elimination module based on FPGA
- Cubemx transplantation punctual atom LCD display routine
- Detailed explanation of serialization and deserialization
- Shell pass parameters
猜你喜欢

2. GPIO related operations

简易博客系统

《2022年中国银行业RPA供应商实力矩阵分析》研究报告正式启动

Blue Bridge Cup - day of week

Microkernel structure understanding

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

C form application of C (27)

C (XXIX) C listbox CheckedListBox Imagelist

3.1 detailed explanation of rtthread serial port device (V1)

Thread sleep, thread sleep application scenarios
随机推荐
BUAA magpie nesting
KS008基于SSM的新闻发布系统
[optimization model] Monte Carlo method of optimization calculation
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
[meisai] meisai thesis reference template
SSTI template injection explanation and real problem practice
AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
Alibaba testers use UI automated testing to achieve element positioning
20、 EEPROM memory (AT24C02) (similar to AD)
2.2 fonctionnement stm32 GPIO
[prediction model] difference method model
Flask learning and project practice 8: introduction and use of cookies and sessions
Remote Sensing Image Super-resolution and Object Detection: Benchmark and State of the Art
C#(二十七)之C#窗体应用
C#(三十一)之自定义事件
2.13 weekly report
【按键消抖】基于FPGA的按键消抖模块开发
C#(三十)之C#comboBox ListView treeView
Failure causes and optimization methods of LTE CSFB
Mathematical modeling regression analysis relationship between variables