进入防火墙设置

阿里云轻量应用服务器mysql开启远程访问

 

添加规则

阿里云轻量应用服务器mysql开启远程访问

 

添加mysql

阿里云轻量应用服务器mysql开启远程访问

 

登录mysql

mysql -u root -p mysql

 

设置root用户远程连接的密码为123456

grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;

相关文章:

  • 2021-10-11
  • 2021-06-13
  • 2021-06-30
  • 2021-09-10
  • 2021-12-14
  • 2021-08-30
  • 2022-01-23
猜你喜欢
  • 2021-06-09
  • 2021-12-20
  • 2021-06-04
  • 2021-06-17
  • 2022-01-16
  • 2021-09-11
  • 2021-04-28
相关资源
相似解决方案