Use MySQL 5.5 for MySQL extension. (#786)
This commit is contained in:
parent
4fd68939d3
commit
4637cf9221
@ -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']):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user