mysql> grant all on *.* to test@'%';
Query OK, 0 rows affected (0.00 sec) mysql
> flush privileges; Query OK, 0 rows affected (0.00 sec) 查看用户的权限: mysql> show grants for test@'%'; +--------------------------------------------------------------------------------------------------------------+ | Grants for test@% | +--------------------------------------------------------------------------------------------------------------+ | GRANT ALL PRIVILEGES ON *.* TO 'test'@'%' IDENTIFIED BY PASSWORD '*2862D369024841A05C809285BEA487080138BDF2' | +--------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)

 

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-11-01
  • 2021-05-16
  • 2022-01-22
  • 2021-12-05
  • 2021-07-30
  • 2021-12-31
猜你喜欢
  • 2022-01-03
  • 2021-09-30
  • 2021-11-26
  • 2022-12-23
  • 2021-12-05
  • 2021-11-18
  • 2022-01-07
相关资源
相似解决方案