1. 新增用户

grant all on *.* to '库名'@'%' identified by '库名';


2. 刷新授权表
flush privileges;

3. 删除空用户

use mysql;
delete from user where user='';
flush privileges;

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2022-01-10
  • 2021-06-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-12-05
相关资源
相似解决方案