linux mysql 新增用户 分配权限
insert into mysql.user(Host,User,Password) values("%","admin",password("admin"));
grant all privileges on *.* to 'admin' identified by 'admin';
grant all privileges on *.* to admin@localhost identified by 'admin';
grant all privileges on *.* to admin@'%'identified by 'admin';
flush privileges; 刷新权限