Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Last active July 10, 2016 13:44
Show Gist options
  • Save nishinoshake/3223b115245056b6162d60682912c7ca to your computer and use it in GitHub Desktop.
Save nishinoshake/3223b115245056b6162d60682912c7ca to your computer and use it in GitHub Desktop.
MySQLのインストール

##MariaDBが入ってたらアンインストール yum list installed | grep maria yum -y remove mariadb-libs

ふつうに yum install mysql するとmariaが入るので注意

##MySQL公式のyumを追加 yum localinstall http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm

最新を確認してリポジトリを追加する。

##インストール yum -y install mysql-community-server mysqld --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment