CentOS yum install mysql配置远程访问

登录到mysql后

grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;//password是对应的root密码

flush privileges;

posted @ 2017-04-12 10:06  秋裤大叔  阅读(208)  评论(0编辑  收藏  举报