如何让 wordpress mu 与 sqlite 一起工作
此插件可以与 wpmu 配合使用吗?如果没有,wpmu 有哪些替代方案?
Does this plugin work with wpmu? If not, what alternatives exist for wpmu?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想要使用 SQLite 的 Wordpress MU,您可能会对本文感兴趣:将标准 WordPress 转换为 SQLite 支持的多用户博客平台
它引用了您链接到的插件,并添加了一些解释 - 引用介绍:
即,它似乎不是基于 Wordpress MU——但似乎实现了相同类型的功能......
If you want Wordpress MU with SQLite, this article might interest you : converting standard wordpress into a SQLite powered multi user blogging platform
It refers to the plugin you linked to, and adds some explanations -- quoting the introduction :
ie, it doesn't seem to be based on Wordpress MU -- but seems to achieve the same kind of functionnalities...
如果您已经有一个正常工作的网站并且想要将 MySQL 数据库迁移到 SQLite,您可能需要阅读这篇文章:
http://livecode.byu.edu/database/mysql-sqliteExport.php
简而言之,本文介绍了如何从 PHPMyAdmin 将 WordPress 数据库导出为 SQL。获得 SQL 文件后,打开终端并运行 sqlite。
您将:
http: //hasin.me/2009/09/22/converting-standard-wordpress-into-a-sqlite-powered-multi-user-blogging-platform/
唯一需要注意的是,SQLite 不支持大多数MySQL 中使用的字段类型,因此您必须将那些不支持的字段替换为 SQLite 等效项。
以下是我在项目中替换的字段:
I确实从 PHPMyAdmin 导出到 SQL 文件,其中一个用于数据结构,这样我就可以验证表是否已创建,另一个用于数据。如果您在读取 SQL 文件时遇到任何错误,只需打开它们,修复它们,然后再次读取文件即可。
If you already have a working working website and would like to migrate your MySQL database to SQLite, you might want to read this article:
http://livecode.byu.edu/database/mysql-sqliteExport.php
In short, the article explains how to export your Wordpress database as SQL from PHPMyAdmin. Once you have an SQL file you open the Terminal and run sqlite.
You will:
http://hasin.me/2009/09/22/converting-standard-wordpress-into-a-sqlite-powered-multi-user-blogging-platform/
The only caveat, is that SQLite does not support most of the field types use in MySQL, so you will have to replace those unsupported fields with the SQLite equivalents.
Here are the fields that I replaced in my project:
I did exported to SQL files from PHPMyAdmin, one for the data structure —so I could verify that the tabled were created, and another one for the data. If you get any error while reading the SQL files, just open them, fix them, and read the files again.