We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0909c95 commit d8b4a2eCopy full SHA for d8b4a2e
es_sync/__init__.py
@@ -70,6 +70,9 @@ def __init__(self):
70
})
71
self.dump_cmd = 'mysqldump -h {host} -P {port} -u {user} --password={password} --database {db} --tables {tables} ' \
72
'--default-character-set=utf8 -X --opt --quick'.format(**mysql)
73
+ else:
74
+ print('Error: must specify either table or tables')
75
+ exit(1)
76
self.master = self.tables[0] # use the first table as master
77
self.current_table = None
78
0 commit comments