We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python binlog2sql\binlog2sql.py -h 192.168.0.110 -P 33306 -u root -p 'pamier' -d baiyue_local_test -t room --start-file 'mysql-bin.000072' --start-datetime '2021-01-25 00:00:00'
usage: binlog2sql.py [-h HOST] [-u USER] [-p [PASSWORD [PASSWORD ...]]] [-P PORT] [--start-file START_FILE] [--start-position START_POS] [--stop-file END_FILE] [--stop-position END_POS] [--start-datetime START_TIME] [--stop-datetime STOP_TIME] [--stop-never] [--help] [-d [DATABASES [DATABASES ...]]] [-t [TABLES [TABLES ...]]] [--only-dml] [--sql-type [SQL_TYPE [SQL_TYPE ...]]] [-K] [-B] [--back-interval BACK_INTERVAL] binlog2sql.py: error: unrecognized arguments: 00:00:00'
The text was updated successfully, but these errors were encountered:
你是用python2运行的吧?
Sorry, something went wrong.
我刚开始也遇到这个问题,后来调试发现windows下需要使用双引号对参数进行处理。
No branches or pull requests
python binlog2sql\binlog2sql.py -h 192.168.0.110 -P 33306 -u root -p 'pamier' -d baiyue_local_test -t room --start-file 'mysql-bin.000072' --start-datetime '2021-01-25 00:00:00'
The text was updated successfully, but these errors were encountered: