MySQL-Community的安装

原创
2016/12/28 16:12
阅读数 56
MySQL安装可以参考官方文档
安装源文件:
针对不同系统安装不同源包
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-4.noarch.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-7.noarch.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6.rpm


rpm -ivh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 
rpm -ivh http://repo.mysql.com/mysql-community-release-el7-7.noarch.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el7.rpm  
安装:
yum -y install mysql mysql-server
执行:rpm -qa | grep mysql
mysql-community-release-el6-5.noarch
mysql-community-common-5.6.27-2.el6.x86_64
mysql-community-client-5.6.27-2.el6.x86_64
mysql-community-server-5.6.27-2.el6.x86_64
mysql-community-libs-5.6.27-2.el6.x86_64
mysql-community-libs-compat-5.6.27-2.el6.x86_64
启动MySQL:
chkconfig mysqld on
service mysqld start
Ok,安装完成

 

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部