pengtao 0d36da16d1 1
2021-10-20 10:59:12 +08:00

23 lines
1.1 KiB
Plaintext

========================================clear old data============================================
sh clear_310.sh
========================================check combine data=========================================
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_210 -e"select count(1),server_id from user group by server_id;"
==========================================step 1===============================================
10.10.6.45 93
python wjtx.py changestatus -m maintain -o add -s 210-391
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_210 >legend_210.sql
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_310 >legend_310.sql
python combine_db.py
python combine_redis.py
python wjtx.py initdb -s 210
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_210 -e"source all.sql"
python import_redis.py 10.10.6.12 6383 out/game_redis.script
python import_redis.py 10.10.6.4 6379 out/global_redis.script
change config in 10.10.6.12 and svn with game,stage 210
close 10.10.6.45 93
python wjtx.py changestatus -m maintain -o remove -s 210-391