Update install.sh

This commit is contained in:
midoks
2022-07-06 17:30:06 +08:00
parent 6869f810f8
commit 0efff889cd
+1 -1
View File
@@ -54,7 +54,7 @@ YUM_INSTALL()
#######
#http://repo.mysql.com/
if [ "${OSNAME}" == "centos" ] && [ "${VERSION_ID}" -lt "7" ] ;then
if [ "${OSNAME}" == "centos" ] && [ "${VERSION_ID}" -le "7" ] ;then
wget -O /tmp/mysql57-community-release-el${VERSION_ID}.rpm http://repo.mysql.com/mysql57-community-release-el${VERSION_ID}.rpm
rpm -ivh /tmp/mysql57-community-release-el${VERSION_ID}.rpm
yum -y install mysql-server