mysql> grant all privileges on *.* to 'master'@'%' identified by '3306' with grant option;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> grant all privileges on *.* to 'master'@'%' identified by '3306' with grant option;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
转载于:https://www.cnblogs.com/bass6/p/5588324.html