创建用户, 所有IP可访问
create user 'nameOfUser'@'%' identified by 'passwordOfUser';
授予某数据库的权限
grant all privileges on tableName.* to 'nameOfUser'@'%';
创建用户, 所有IP可访问
create user 'nameOfUser'@'%' identified by 'passwordOfUser';
授予某数据库的权限
grant all privileges on tableName.* to 'nameOfUser'@'%';