我想知道如何用生产服务器(MySQL)中的值以一种简单的方式填充我的开发SQLite数据库。有没有一种很好的“铁轨”方式来做到这一点?(也许是capistrano或类似的东西?)
发布于 2012-02-06 22:04:59
您可以使用以下脚本将mysqldump格式转换为sqlite3:script to convert mysql dump sql file into format that can be imported into sqlite3 db
然后看看下面的文章来编写你自己的capistrano任务:
https://stackoverflow.com/questions/9118532
复制相似问题