diff --git a/plugins/mysql-ya/versions/5.7/install.sh b/plugins/mysql-ya/versions/5.7/install.sh index a601dfa10..6df06d2c6 100755 --- a/plugins/mysql-ya/versions/5.7/install.sh +++ b/plugins/mysql-ya/versions/5.7/install.sh @@ -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