pengtao bad5e04122 1
2022-05-24 13:56:14 +08:00
..
2021-11-04 15:44:34 +08:00
2020-08-19 14:15:13 +08:00
2021-10-19 12:02:05 +08:00
2021-10-19 12:02:05 +08:00
2022-02-07 15:37:21 +08:00
1
2020-08-19 14:14:08 +08:00
1
2021-06-30 11:31:02 +08:00
2021-12-22 14:23:41 +08:00
2020-03-25 10:37:32 +08:00
1
2022-05-24 13:56:14 +08:00
1
2021-10-20 10:59:12 +08:00
2021-01-14 17:35:06 +08:00
2022-01-12 16:40:35 +08:00

========================================check combine data=========================================
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_832 -e"select count(1),server_id from user group by server_id;"
==========================================step 1===============================================
10.10.6.197-198
python wjtx.py changestatus -m maintain -o add -s 832-835
mysqldump --default-character-set=utf8  -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_832 >legend_832.sql
mysqldump --default-character-set=utf8  -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_833 >legend_833.sql
mysqldump --default-character-set=utf8  -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_834 >legend_834.sql
mysqldump --default-character-set=utf8  -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_835 >legend_835.sql

python wjtx.py initdb -s 832
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_832 -e"source all.sql"

python import_redis.py 10.10.6.197 6381 out/game_redis.script
python import_redis.py 10.10.6.4 6379 out/global_redis.script
close 10.10.6.198
python wjtx.py changestatus  -m maintain -o remove -s 832-835
==========================================step 2===============================================
10.10.6.191,195
python wjtx.py changestatus -m maintain -o add -s 820-831
mysqldump --default-character-set=utf8  -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_820 >legend_820.sql
mysqldump --default-character-set=utf8  -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_828 >legend_828.sql

python wjtx.py initdb -s 820
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_820 -e"source all.sql"
python import_redis.py 10.10.6.191 6381 out/game_redis.script
python import_redis.py 10.10.6.4 6379 out/global_redis.script
redis-cli -h 10.10.6.4 hdel hefu_info 820
redis-cli -h 10.10.6.4 hdel hefu_info 828
close 10.10.6.195
python wjtx.py changestatus  -m maintain -o remove -s 820-831