从 SQLite 管理器导入到文件中
我正在使用 SQLite 版本 2.8.17 - 3.3.7 / PHP 版本 5.2.17 我创建了一个包含几个表的数据库,并希望将其导出到 .db 或 .sqlite 文件中,但它给了我转储文本。 我想在 iPhone 中使用这个数据库,但目前我只能使用应用程序来管理 sqlite 数据库。 将不胜感激任何帮助。 我还尝试过 firefox 的 sqlite 管理器,但它很难看:)
请告诉我一个用于创建 sqlite 数据库并用信息填充它们以供将来在 iPhone 中使用的应用程序。
I'm using SQLite version 2.8.17 - 3.3.7 / PHP version 5.2.17
I've created a db with a few tables and want to export it into .db or .sqlite file but it gives me dump text.
I'd like to use this db in iPhone, but I'm currently stuck with app to manage sqlite databases.
Would appreciate any help.
Also I've tried sqlite manager for firefox, but its ugly:)
Please, tell me about an app to create sqlite databases and populate them with info for future use in iPhone.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我已经通过将数据库(服务器端)转储到 XML 文件中成功实现了您所说的内容,iPhone 可以通过简单的 http 请求提取该文件,然后转换为它自己的数据结构。 在 iPhone 上读取 XML。
最初,我尝试按照您的想法进行操作,但它太复杂且容易出错,无法证明其合理性。
I have successfully implemented what you're talking about by dumping the database (serverside) into an XML file, which the iPhone can pull via a simple http request, and then convert into it's own data structures. Reading XML on the iPhone.
Originally, I tried doing it how you're thinking, it was just too complicated and error-prone to justify.
尝试一下 Lita
Have a go with Lita
我使用 Navicat for SQLite 来实现此目的。我认为这是一个很棒的工具,具有漂亮的 GUI。您可以多种格式导入/导出。嗯,它不是免费的,但有试用版。
I use Navicat for SQLite for this. Im my opinion it's a great tool with a nice GUI. You can import/export in several formats. Well, it's not free, but there is a trial.