mysql> grant all on . to admin@'localhost' identified by '123456';
Query OK, 0 rows affected, 2 warnings (0.00 sec)
mysql> grant all on . to admin@'localhost' with grant option;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql>
grant all on . to admin@'localhost' identified by '123456';
grant all on . to admin@'localhost' with grant option;
转载于:https://blog.51cto.com/wsxxsl/2049016