MySQL的yum安装方法

    centos7默认不再使用mysql而是用mariadb来代替mysql

[root@yxh6 ~]# yum install mysql-server
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * epel: mirror.premi.st
 * extras: mirrors.neusoft.edu.cn
 * updates: mirrors.aliyun.com
包 mysql-server-5.1.73-8.el6_8.x86_64 已安装并且是最新版本
无须任何处理
[root@yxh6 ~]# service mysqld start
centos6安装

相关文章: