admin 改为用户名 pass改为密码即可
mysql> grant all on *.* to admin@'%' identified by 'pass';
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
admin 改为用户名 pass改为密码即可
mysql> grant all on *.* to admin@'%' identified by 'pass';
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)