Mysql中使用root用户远程连接

root用户不允许远程连接,需要执行一下授权

grant all privileges on *.* to 'root'@'%' identified by '1234' with grant option;

需要替换一下实际的密码

posted @ 2015-05-16 14:14  一点点凋落  阅读(107)  评论(0编辑  收藏  举报