Skip to content

Commit

Permalink
Add bootstrap data dir archive for MySQL 5.6.
Browse files Browse the repository at this point in the history
Generated with data/bootstrap/upgrade.sh from inside the
vitess/bootstrap:mysql56 Docker image.
  • Loading branch information
enisoc committed Apr 22, 2015
1 parent 10ed545 commit 3b3d7c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Binary file added data/bootstrap/mysql-db-dir_5.6.24.tbz
Binary file not shown.
10 changes: 8 additions & 2 deletions test/mysql_flavor.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ def enable_binlog_checksum(self, tablet):
def disable_binlog_checksum(self, tablet):
tablet.mquery('', 'SET @@global.binlog_checksum=0')


class MySQL56(MysqlFlavor):
"""Overrides specific to MySQL 5.6"""

def bootstrap_archive(self):
return "mysql-db-dir_5.6.24.tbz"

__mysql_flavor = None


Expand Down Expand Up @@ -147,8 +154,7 @@ def set_mysql_flavor(flavor):
if flavor == "MariaDB":
__mysql_flavor = MariaDB()
elif flavor == "MySQL56":
logging.error("MySQL 5.6 support is currently under development, and not supported yet")
exit(1)
__mysql_flavor = MySQL56()
else:
logging.error("Unknown MYSQL_FLAVOR '%s'", flavor)
exit(1)
Expand Down

0 comments on commit 3b3d7c2

Please sign in to comment.