update mysql version

This commit is contained in:
midoks
2021-02-01 20:54:27 +08:00
parent 301086faa1
commit da9b3bf435
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"ps":"一种关系数据库管理系统!",
"todo_versions":["5.6","5.7","8.0"],
"versions":["5.5", "5.6", "5.7"],
"updates":["5.5.62","5.6.46", "5.7.28"],
"updates":["5.5.62","5.6.50", "5.7.32"],
"shell":"install.sh",
"checks":"server/mysql",
"path":"server/mysql",
+5 -5
View File
@@ -30,17 +30,17 @@ Install_mysql()
fi
if [ ! -f ${mysqlDir}/mysql-5.6.46.tar.gz ];then
wget -O ${mysqlDir}/mysql-5.6.46.tar.gz https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.46.tar.gz
if [ ! -f ${mysqlDir}/mysql-5.6.50.tar.gz ];then
wget -O ${mysqlDir}/mysql-5.6.50.tar.gz https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.50.tar.gz
fi
if [ ! -d ${mysqlDir}/mysql-5.6.46 ];then
cd ${mysqlDir} && tar -zxvf ${mysqlDir}/mysql-5.6.46.tar.gz
if [ ! -d ${mysqlDir}/mysql-5.6.50 ];then
cd ${mysqlDir} && tar -zxvf ${mysqlDir}/mysql-5.6.50.tar.gz
fi
if [ ! -d $serverPath/mysql ];then
cd ${mysqlDir}/mysql-5.6.46 && cmake \
cd ${mysqlDir}/mysql-5.6.50 && cmake \
-DCMAKE_INSTALL_PREFIX=$serverPath/mysql \
-DMYSQL_USER=mysql \
-DMYSQL_TCP_PORT=3306 \
+5 -5
View File
@@ -29,16 +29,16 @@ Install_mysql()
useradd -g mysql mysql
fi
if [ ! -f ${mysqlDir}/mysql-boost-5.7.28.tar.gz ];then
wget -O ${mysqlDir}/mysql-boost-5.7.28.tar.gz https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-boost-5.7.28.tar.gz
if [ ! -f ${mysqlDir}/mysql-boost-5.7.32.tar.gz ];then
wget -O ${mysqlDir}/mysql-boost-5.7.32.tar.gz https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-boost-5.7.32.tar.gz
fi
if [ ! -d ${mysqlDir}/mysql-5.7.28 ];then
cd ${mysqlDir} && tar -zxvf ${mysqlDir}/mysql-boost-5.7.28.tar.gz
if [ ! -d ${mysqlDir}/mysql-5.7.32 ];then
cd ${mysqlDir} && tar -zxvf ${mysqlDir}/mysql-boost-5.7.32.tar.gz
fi
if [ ! -d $serverPath/mysql ];then
cd ${mysqlDir}/mysql-5.7.28 && cmake \
cd ${mysqlDir}/mysql-5.7.32 && cmake \
-DCMAKE_INSTALL_PREFIX=$serverPath/mysql \
-DMYSQL_USER=mysql \
-DMYSQL_TCP_PORT=3306 \