Generate data for MySQL tables
Is there a program like Red Gate's Data Generator for MS SQL Server that generates data based on your database schema for MySQL?
Other alternatives (easy) to accomplish the objective very much welcomed!
Check out benerator:
http://databene.org/databene-benerator
Look at generatedata, which is available via http://www.generatedata.com
You can also fork the project: https://github.com/benkeen/generatedata
It's pretty simple and I didn't need a manual to figure out how to use it.
I've written a small script which can generate & populate your DB, it also can execute SQL files. Everything in synchronized manner (important if you have relationships defined in your DB)
Works like a charm for our team.
https://github.com/blacktea/populate-db-now
链接地址: http://www.djcxy.com/p/6486.html上一篇: 检查Java中是否存在枚举
下一篇: 为MySQL表生成数据