允许用户 root 任何IP 上都可以远程连接 所有 mysql数据库 并具有操作数据库的 所有权限, 密码为: myPassword

mysql -u root -p

grant all PRIVILEGES on *.* to root@'%' identified by 'myPassword';

flush privileges;

 

相关文章:

  • 2021-12-02
  • 2021-06-22
  • 2022-02-08
  • 2022-02-08
  • 2021-12-08
  • 2021-12-12
  • 2021-12-18
  • 2021-09-12
猜你喜欢
  • 2021-06-16
  • 2021-10-06
  • 2022-12-23
  • 2022-02-23
  • 2021-12-19
  • 2022-02-08
  • 2022-02-08
相关资源
相似解决方案