diff --git a/tools/migratedb/migratedb.py b/tools/migratedb/migratedb.py index 402b176..44f0943 100644 --- a/tools/migratedb/migratedb.py +++ b/tools/migratedb/migratedb.py @@ -121,9 +121,11 @@ def main(): db_rule_conf = json.loads(open(CONFIG_DIR + 'common/mysql_rule.json', 'r').read()) redis_rule_conf = json.loads(open(CONFIG_DIR + 'common/redis_rule.json', 'r').read()) exportRedis(context, redis_conf, redis_rule_conf) - exportMysql(context, db_conf, db_rule_conf) + #exportMysql(context, db_conf, db_rule_conf) if __name__ == "__main__": - context['channel'] = sys.argv[1] - context['dbname_prefix'] = sys.argv[2] + #context['channel'] = sys.argv[1] + #context['dbname_prefix'] = sys.argv[2] + context['channel'] = '0' + context['dbname_prefix'] = 'gamedb2004' main()