1、centOS6.3下安装mysql5.6详解
https://yq.aliyun.com/articles/48988
2、修改mysql root用户的默认密码
http://www.jianshu.com/p/ae78ce8d8e14
3、配置远程连接
转自:http://jingyan.baidu.com/article/046a7b3ed85f3ef9c27fa9dc.html
mysql -u root -p
use mysql
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
flush privileges;
备注:第二个root为密码
问题定位:
1、解决mysql“Access denied for user 'root'@'localhost'”
http://www.jianshu.com/p/ae78ce8d8e14
2、You must SET PASSWORD before executing this statement的解决方法
http://www.jb51.net/article/39187.htm
3、下载mysql
http://www.cnblogs.com/kerrycode/p/4364465.html