登录进mysql
grant all privileges on *.* to 'root' @'%' identified by '你的root用户密码';
flush privileges;
“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill
标 题:centos7下mysql开启远程访问