Update install.sh

pull/121/head
midoks 3 years ago
parent 6869f810f8
commit 0efff889cd
  1. 2
      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

Loading…
Cancel
Save