优化mysql5.7

This commit is contained in:
midoks
2022-06-24 18:39:11 +08:00
parent 63cf6fee05
commit 5b86cd4314
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -103,6 +103,8 @@ def getConf():
def getInitdTpl(version=''):
path = getPluginDir() + '/init.d/mysql' + version + '.tpl'
if not os.path.exists(path):
path = getPluginDir() + '/init.d/mysql.tpl'
return path
-4
View File
@@ -55,10 +55,6 @@ Install_mysql()
fi
fi
if [ ! -d ${mysqlDir}/mysql-${VERSION} ];then
cd ${mysqlDir} && tar -zxvf ${mysqlDir}/mysql-boost-8.0.25.tar.gz
fi
if [ ! -d ${mysqlDir}/mysql-${VERSION} ];then
cd ${mysqlDir} && tar -zxvf ${mysqlDir}/mysql-boost-${VERSION}.tar.gz
fi