问题描述
我在的.sql格式的数据库。我想这个数据库为.sqlite格式转换。当我不得不用这个16MB的数据库与我的Android应用程序。
I Have a database in ".Sql" format. I would like to convert this database to ".sqlite" format. As I have to use this 16MB database with my android Application.
我在互联网上搜索,但没有找到结果,我期待。
I've searched on the internet but couldn't find the result I was expecting.
推荐答案
MySQL是具有比SQLite的更多功能和特性,这使得它难以在它们之间在时间切换。
MySQL is has more functions and features than SQLite, which makes it difficult to switch between them at times.
如果您的模式很简单(读:不含有大量的SQLite不具备的功能),你可以转储到一个SQL文件,并尝试将其导入到一个SQLite数据库
If your schema is simple enough (read: doesn't contain a lot of the features that SQLite doesn't have), you could dump it into an SQL file and try to import it into an SQLite DB.
还有一些企图转换器......你可以在这里查找列表一>
There are also several attempts at converters... you can find a list here.
这篇关于MYSQL转换为Android的SQLite数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!