Last active
April 5, 2020 16:49
-
-
Save kingoamino/3425e529e40bd9ad7c7e5c3c9b7916ab to your computer and use it in GitHub Desktop.
Install MySQL on CentOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup Yum repository | |
rpm -Uvh https://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm | |
# Install MySQL 8 Community Server | |
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/mysql-community.repo | |
# Install MySQL | |
yum --enablerepo=mysql80-community install mysql-community-server -y | |
# Start MySQL Service | |
systemctl start mysqld | |
systemctl enable --now mysqld | |
systemctl status mysqld | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment