insert into mysql.user(Host,User,Password) values("%","admin",password("admin"));

 

grant all privileges on *.* to 'admin' identified by 'admin';

grant all privileges on *.* to admin@localhost identified by 'admin';

grant all privileges on *.* to admin@'%'identified by 'admin';

flush privileges;   刷新权限

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2021-08-06
  • 2021-11-21
猜你喜欢
  • 2021-10-14
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2022-02-10
  • 2021-12-22
相关资源
相似解决方案