Skip to content

Commit

Permalink
skip literal mysql db
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa Vasile committed Oct 30, 2014
1 parent f278fda commit 39d6fff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions innodb_export_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ def do_import(options, config):
for dbname in databases:
# Make sure this is a valid database
if database_exists(config, dbname):
if dbname == 'mysql':
continue

# Get tables
table_files = glob(os.path.join(data_dir, dbname, '*.sql'))
Expand Down

0 comments on commit 39d6fff

Please sign in to comment.