CMD命令:
1:使用管理员账户登陆

2:创建用户:CREATE USER 'username'@'host' IDENTIFIED BY 'password';
3:授权:grant all privileges on orderautocategory.* to xcuser@localhost identified by 'xcuser';

3:或:GRANT all ON *.* TO 'root'@'%' WITH GRANT OPTION;

4:授予账号复制数据的权限:

      GRANT REPLICATION SLAVE ON *.* TO 'test'@'%';

5:flush privileges;

 

相关文章:

  • 2022-01-21
  • 2021-08-19
  • 2021-12-19
  • 2022-02-08
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案