查看已经安装的mysql: sudo yum list installed |grep mysql 删除 sudo yum remove mysql 安装 sudo rpm -ivh MySQL-server-5.6.19-1.rhel5.x86_64.rpm 会发现mysql已经被添加到/etc/init.d/ 查看服务状态 sudo /sbin/service mysql status 启动服务 sudo /sbin/service mysql start ps查看, 服务运行在mysql用…