GRANT ALL PRIVILEGES ON db_name.* TO 'user_name'@'%';
FLUSH PRIVILEGES;
MySQL为某用户赋予指定数据库的远程连接权限
未经允许不得转载:Ddmit » MySQL为某用户赋予指定数据库的远程连接权限
GRANT ALL PRIVILEGES ON db_name.* TO 'user_name'@'%';
FLUSH PRIVILEGES;