wtmmac / mysql2redis Goto Github PK
View Code? Open in Web Editor NEWThis is used to move the mysql data to redis or from redis to mysql.
This is used to move the mysql data to redis or from redis to mysql.
本目录下的脚本实现了把数据库中和类CBBEmployee,CBBFinancialLog,CBBFurniture,CBBInventoryObj,CBBLocation,CBBPlayer,CBBPlayerToy,CBBStore,CBBWarehouse相关的数据从Mysql==>Redis的迁移, 一下以对CBBPlayer类的迁移来说明如何实现数据的迁移: 1)在命令行窗口cd到本目录 2)在shell这输入一下命令 python Player.py 3)监视Redis的更改,并做相关处理的文件为RedisMonitor.py,目前对其中的当监视到Redis更改之后的处理部分为着处理,只是答应出了相应的语句。 注意: 1)运行脚本,需要的机器装有mysql命令行客户端,redis命令行客户端,redis 服务器 目前版本是把数据存到了本地的redis服务器中,在迁移之前需要打开redis服务 2) 程序没有完全测试,原因如下:(1)在测试数据库(ip以110结尾)中数据不全,无法完成测试,(2)某些SQL语句不正确,可能需要BOB协助,(3)可能需要对类的字段做补充 完整测试过的类有Player.py 作者: 郭旭聪:Employee.py FinancialLog.py PlayerToy.py Store.py 张金国:其他文件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.