1.先创建用户 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 2.授权 GRANT all ON . TO 'username'@'ip; 3.刷新权限 flush privileges;来源:51CTO作者:断情伤泪链接:https://blog.51cto.com/cylin/2448508 标签 远程访问