标签:mysql bsp gre x86 下载 命令 执行 comm style
1. 去官网下载相应的rpm包:https://dev.mysql.com/downloads/mysql/
mysql-community-client-5.7.19-1.el6.x86_64.rpm
mysql-community-common-5.7.19-1.el6.x86_64.rpm
mysql-community-libs-5.7.19-1.el6.x86_64.rpm
mysql-community-server-5.7.19-1.el6.x86_64.rpm
2. 检查当前环境中是否安装mysql
rpm -qa | grep -i mysql
如果已经安装执行如下命令删除旧的版本:
rpm -e --nodeps xxxx
3. 执行如下命令安装mysql
rpm -ivh mysql-community-*
4. 启动mysql
/etc/init.d/mysqld start
标签:mysql bsp gre x86 下载 命令 执行 comm style
原文地址:http://www.cnblogs.com/firstyushi/p/7407106.html