从 SQLite 管理器导入到文件中

发布于 2024-12-18 12:47:46 字数 261 浏览 3 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

温馨耳语 2024-12-25 12:47:47

我已经通过将数据库(服务器端)转储到 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.

给不了的爱 2024-12-25 12:47:46

尝试一下 Lita

Have a go with Lita

神爱温柔 2024-12-25 12:47:46

我使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文