Update install.sh

pull/119/head
midoks 3 years ago
parent 5ee5eb190f
commit 2b10892a67
  1. 8
      plugins/mysql/versions/8.0/install.sh

@ -120,14 +120,12 @@ Install_mysql()
if [ "$OSNAME" == "centos" ] && [ "$VERSION_ID" == "7" ];then if [ "$OSNAME" == "centos" ] && [ "$VERSION_ID" == "7" ];then
yum install centos-release-scl -y yum install centos-release-scl -y
yum install devtoolset-9 -y yum install devtoolset-9 -y
scl enable devtoolset-9 bash # scl enable devtoolset-9 bash
gcc --version gcc --version
WHERE_DIR_GCC=/opt/rh/devtoolset-9/root/usr/bin/gcc
WHERE_DIR_GCC=`which gcc` WHERE_DIR_GPP=/opt/rh/devtoolset-9/root/usr/bin/g++
WHERE_DIR_GPP=`which g++`
echo $WHERE_DIR_GCC echo $WHERE_DIR_GCC
echo $WHERE_DIR_GPP echo $WHERE_DIR_GPP
exit 1
fi fi
if [ ! -d $serverPath/mysql ];then if [ ! -d $serverPath/mysql ];then

Loading…
Cancel
Save