Use MySQL 5.5 for MySQL extension. (#786)

This commit is contained in:
Nicholas Hastings 2018-03-20 17:12:30 -04:00 committed by GitHub
parent 4fd68939d3
commit 4637cf9221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -183,7 +183,7 @@ class SMConfig(object):
self.mysql_root['x86'] = builder.options.mysql_path
else:
for i in range(7):
self.mysql_root['x86'] = ResolveEnvPath('MYSQL5', 'mysql-5.' + str(i))
self.mysql_root['x86'] = ResolveEnvPath('MYSQL55', 'mysql-5.' + str(i))
if self.mysql_root['x86']:
break
if not self.mysql_root['x86'] or not os.path.isdir(self.mysql_root['x86']):
@ -196,7 +196,7 @@ class SMConfig(object):
self.mysql_root['x64'] = builder.options.mysql64_path
else:
for i in range(7):
self.mysql_root['x64'] = ResolveEnvPath('MYSQL5_64', 'mysql-5.' + str(i) + '-x86_64')
self.mysql_root['x64'] = ResolveEnvPath('MYSQL55_64', 'mysql-5.' + str(i) + '-x86_64')
if self.mysql_root['x64']:
break
if not self.mysql_root['x64'] or not os.path.isdir(self.mysql_root['x64']):

View File

@ -42,13 +42,13 @@ getmysql ()
}
# 32-bit MySQL
mysqlfolder=mysql-5.0
mysqlfolder=mysql-5.5
if [ $ismac -eq 1 ]; then
mysqlver=mysql-5.5.28-osx10.5-x86
mysqlurl=https://cdn.mysql.com/archives/mysql-5.5/$mysqlver.$archive_ext
elif [ $iswin -eq 1 ]; then
mysqlver=mysql-noinstall-5.0.24a-win32
mysqlurl=https://cdn.mysql.com/archives/mysql-5.0/$mysqlver.$archive_ext
mysqlver=mysql-5.5.54-win32
mysqlurl=https://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
@ -58,7 +58,7 @@ fi
getmysql
# 64-bit MySQL
mysqlfolder=mysql-5.0-x86_64
mysqlfolder=mysql-5.5-x86_64
if [ $ismac -eq 1 ]; then
mysqlver=mysql-5.5.28-osx10.5-x86_64
mysqlurl=https://cdn.mysql.com/archives/mysql-5.5/$mysqlver.$archive_ext