centos6.5安装mysql server

前端之家收集整理的这篇文章主要介绍了centos6.5安装mysql server前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

https://dev.MysqL.com/doc/MysqL-yum-repo-quick-guide/en/


在centos上面安装MysqL server 5.6


在/etc/yum.repo.d目录下建立一个文件 :

# Enable to use MysqL 5.6
[MysqL56-community]
name=MysqL 5.6 Community Server
baseurl=http://repo.MysqL.com/yum/MysqL-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MysqL

然后运行:

sudo yum install MysqL-community-server
修改密码,root先登录后:
SET PASSWORD = PASSWORD('mypass');
原文链接:https://www.f2er.com/centos/378847.html

猜你在找的CentOS相关文章