Bump MySQL version to 5.5 (#466)

* Bump MySQL version to 5.5

* Let's see how Travis-CI goes

* Let's see how AppVeyor goes

* Adjust windows library path
This commit is contained in:
Vincent Herbet
2017-10-31 23:06:30 +01:00
committed by GitHub
parent 7fe7cd746f
commit 175d49293c
6 changed files with 26 additions and 18 deletions

View File

@ -21,19 +21,19 @@ if [ "$1" != "--no-mysql" ]; then
fi
if [ $ismac -eq 1 ]; then
mysqlver=mysql-5.5.28-osx10.5-x86
mysqlver=mysql-5.5.40-osx10.6-x86
mysqlurl=http://cdn.mysql.com/archives/mysql-5.5/$mysqlver.$archive_ext
elif [ $iswin -eq 1 ]; then
mysqlver=mysql-noinstall-5.0.24a-win32
mysqlurl=http://cdn.mysql.com/archives/mysql-5.0/$mysqlver.$archive_ext
mysqlver=mysql-5.5.57-win32
mysqlurl=http://cdn.mysql.com/archives/mysql-5.5/$mysqlver.$archive_ext
# The folder in the zip archive does not contain the substring "-noinstall", so strip it
mysqlver=${mysqlver/-noinstall}
else
mysqlver=mysql-5.6.15-linux-glibc2.5-i686
mysqlurl=http://cdn.mysql.com/archives/mysql-5.6/$mysqlver.$archive_ext
mysqlver=mysql-5.5.57-linux-glibc2.12-i686
mysqlurl=http://cdn.mysql.com/archives/mysql-5.5/$mysqlver.$archive_ext
fi
if [ ! -d "mysql-5.0" ]; then
if [ ! -d "mysql-5.5" ]; then
if [ `command -v wget` ]; then
wget $mysqlurl -O mysql.$archive_ext
elif [ `command -v curl` ]; then
@ -43,7 +43,7 @@ if [ "$1" != "--no-mysql" ]; then
exit 1
fi
$decomp mysql.$archive_ext
mv $mysqlver mysql-5.0
mv $mysqlver mysql-5.5
rm mysql.$archive_ext
fi
fi