逍遥西游linux端删档清档最直接的方法和redis6001删档操作
chmod -R 777 /usr/local/bin/
cd /usr/local/bin
redis-cli -p 6001 -a fanhuagame
flushall
exit
mysql -u root -p123456
truncate table sdktest.dda;
exit;
cd /usr/local/mongodb/bin/
./mongod -dbpath=/usr/local/mongodb/db -logpath=/usr/local/mongodb/logs/mongodb.log -logappend -port=27017 -fork
./mongo
show dbs
use gamelogic
db.dropDatabase()
use local
db.dropDatabase()
exit;
rm -rf /home/nomogaserver/accountcenter/log/*
rm -rf /home/nomogaserver/paycenter/log/*
rm -rf /home/server1/nomogaserver1/log/*
rm -rf /home/server1/nomogaserver2/log/*
rm -rf /home/server1/nomogaserver3/log/*
rm -rf /home/server1/nomogaserver4/log/*
rm -rf /home/server1/nomogaserver5/log/*
rm -rf /home/server1/nomogaserver6/log/*
关闭游戏
启动游戏
直接清档,
还有mongodb,那个自己连接删除吧 Robomongo 0.9.0-RC10 这个工具自己下吧,特简单,没啥说的,点点鼠标就会了!