grant all privileges on *.* to 'username'@'%' identified by 'password'
all privileges:全部权限
% : 通配符,表示可以任意远程主机登录
grant all privileges on *.* to 'username'@'%' identified by 'password'
all privileges:全部权限
% : 通配符,表示可以任意远程主机登录
转载于:https://my.oschina.net/amath321/blog/27950