要用到的sql语句(在服务器mysql执行)
create user 'admin'@'%' identified by 'admin';
grant all privileges on . to 'admin'@'%';...