Title: SQLite Database Integration
Author: WordPress.org
Published: <strong>2023 年 1 月 17 日</strong>
Last modified: 2026 年 4 月 10 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/sqlite-database-integration.svg)

# SQLite Database Integration

 由 [WordPress.org](https://profiles.wordpress.org/wordpressdotorg/) 開發

[下載](https://downloads.wordpress.org/plugin/sqlite-database-integration.2.2.23.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/sqlite-database-integration/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/sqlite-database-integration/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/sqlite-database-integration/#developers)

 [技術支援](https://wordpress.org/support/plugin/sqlite-database-integration/)

## 外掛說明

SQLite 外掛是一款社群版功能性外掛，這個外掛的目的在於測試 WordPress 與 SQLite 的
整合並收集意見反應，最終目標是將這個外掛的功能整合至 WordPress 核心程式中。

這個功能性外掛包含源自 phpMyAdmin 專案 (尤其是 phpmyadmin/sql-parser 程式庫) 的程式碼，
其授權方式為 GPL v2 或更新版本。如需進一步了解 phpmyadmin/sql-parser 程式庫，請前往
該程式庫的 [GitHub 存放庫](https://github.com/phpmyadmin/sql-parser)。

## 常見問題集

### 開發這個外掛的目的為何？

這個外掛的主要目的是開放測試 SQLite 資料庫的使用，最終目標是將這項功能整合至 WordPress
核心程式中。

如需進一步了解，請參考這篇官方部落格上的[原始提案](https://make.wordpress.org/core/2022/09/12/lets-make-wordpress-officially-support-sqlite/)，
以及透過[測試號召](https://make.wordpress.org/core/2022/12/20/help-us-test-the-sqlite-implementation/)
獲得更多來龍去脈及實用資訊。

### 這個外掛可以使用於正式網站嗎？

根據上文中所提及的外掛主要目的，可以將這個外掛視為 Beta 測試版外掛。在某些情況下，
這個外掛應該可以用於生產環境；但是如同其他外掛，使用者必須自負使用風險。

### 使用者可以在何處提交外掛意見反應？

非常鼓勵也感謝使用者提供意見反應，尤其是這個外掛會是將來 WordPress 核心程式的功能。
如果使用者需要移難排解的協助、使用上遇到問題、功能建議或要求，都可以在 [SQLite GitHub 存放庫](https://github.com/wordpress/sqlite-database-integration/issues/new)
中提出。

### 如何為這個外掛做出貢獻？

非常感謝各位的各種貢獻！請參考[核心程式效能團隊手冊](https://make.wordpress.org/performance/handbook/get-involved/)
以進一步了解參與的方式。

### 這個外掛變更 WordPress 執行查詢的方式為何？

這個外掛可以將預設的 MySQL (或相融資料庫) 的資料庫層更換為以 SQLite 為基礎的實作
方案。WordPress 核心程式的程式碼仍會使用 wpdb API，但內部查詢會調整為使用 SQLite
語法及行為。

## 使用者評論

![](https://secure.gravatar.com/avatar/e1ea4633379bbc6b5bc9e3fa3aeb4da60ccff6557ad69d37e851647ed4735a10?
s=60&d=retro&r=g)

### 󠀁[Works great on my low-traffic site](https://wordpress.org/support/topic/works-great-on-my-low-traffic-site/)󠁿

 [openletter](https://profiles.wordpress.org/openletter/) 2025 年 6 月 29 日

I have no other services requiring MySQL/MariaDB, so this option saves me some memory
and headache. Have been running for around one year and zero issues, but my site
is very simple.

![](https://secure.gravatar.com/avatar/1b0c704cb4942dbae9b171341ee95b3e2cb7cd2d6dc0bcdaa4dcee89f3fc0a8d?
s=60&d=retro&r=g)

### 󠀁[Util para crear sitios de desarrollo](https://wordpress.org/support/topic/util-para-crear-sitios-de-desarrollo/)󠁿

 [Alberto Prado](https://profiles.wordpress.org/alprado/) 2025 年 6 月 29 日

SQlite debería de ser la opción por defecto para WordPress. Es mucho más simple 
de administrar que mySQL y puede funcionar igual de bien. Este plugin es indispensable
para crear un WordPress de desarrollo que solamente necesita PHP para iniciar el
servidor sin instalar XAMPP ni otro software.

![](https://secure.gravatar.com/avatar/ded41d1ff4a5d949ab95362f662e228df0c04f364ef3603dc304efc1c3372904?
s=60&d=retro&r=g)

### 󠀁[Great, seems only one step away …](https://wordpress.org/support/topic/great-seems-only-one-step-away/)󠁿

 [Gareth Bult](https://profiles.wordpress.org/madpenguin/) 2024 年 12 月 3 日

Ok, so in terms of doing what it says in the tin, for me it looks great. I’ve set
up 20 – 30 instances, it runs my core plugins and has a footprint of ~ 105M when
running with a default setup. Seems to be at least as fast as the MySQL instances
sat next to them. Here’s the problem tho’. It would seem I can’t actually convert
any existing sites over to run on these instances without a lot of manual work. (
I say this after reading the experiences of some others who claim to have tried).
Are there any relatively automatic tools and/or documentation that I might have 
missed when it comes to migrating a MySQL instance over to SqLite (and back, in 
the event of a problem), or at least a Roadmap of if / when such tools or plugins
might become available? A roadmap or estimation might at least (if it’s a long way
away) prompt someone to get on and do it?

![](https://secure.gravatar.com/avatar/9a38e5d4b02b4735c79831ec7d8e52ad04f20b2bc2bc3fc33593a60776bb1c11?
s=60&d=retro&r=g)

### 󠀁[First start](https://wordpress.org/support/topic/first-start-2/)󠁿

 [barbaroshh](https://profiles.wordpress.org/barbaroshh/) 2024 年 11 月 26 日 6 
則留言

I added this plugin. Wordpress warned me that it would be reinstalled. But now everything
is gone.) Will it come back, hopefully?

![](https://secure.gravatar.com/avatar/c6597faba22dfca2d73c37013974a0fa24b16556f91b1e1af6c0a9ed436d507e?
s=60&d=retro&r=g)

### 󠀁[Great Plugin! Makes WP so fast!](https://wordpress.org/support/topic/great-plugin-make-wp-so-fast/)󠁿

 [John Turner](https://profiles.wordpress.org/johnnytee/) 2024 年 9 月 28 日 1 則
留言

Thank you dev team for providing this plugin !

![](https://secure.gravatar.com/avatar/22dcf41213b58505959c76ae20650595fbd28c9653c683591c3c6f14d60f1aa5?
s=60&d=retro&r=g)

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-13553/)󠁿

 [lucasbustamante](https://profiles.wordpress.org/lucasbustamante/) 2024 年 8 月
26 日 1 則留言

I used it to spin up a test site in CI, it’s just elegant and brings WP closer to
Static when we need it. There’s a place for SQLite simplicity in some WP workflows.
Loved it!

 [ 閱讀全部 12 則使用者評論 ](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈SQLite Database Integration〉的開發相關工作。

參與者

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Jan Jakeš ](https://profiles.wordpress.org/janjakes/)
 *   [ Adam Zieliński ](https://profiles.wordpress.org/zieladam/)
 *   [ Bero ](https://profiles.wordpress.org/berislavgrgicak/)
 *   [ Brandon Payton ](https://profiles.wordpress.org/bpayton/)
 *   [ zaerl ](https://profiles.wordpress.org/zaerl/)

〈SQLite Database Integration〉外掛目前已有 11 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/sqlite-database-integration/contributors)
為這個外掛做出的貢獻。

[將〈SQLite Database Integration〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/sqlite-database-integration)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/sqlite-database-integration/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/sqlite-database-integration/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/sqlite-database-integration/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/sqlite-database-integration/)。

## 變更記錄

#### 2.2.23

 * Add Query Monitor 4.0 support ([#357](https://github.com/WordPress/sqlite-database-integration/pull/357))
 * Translate MySQL CONVERT() expressions to SQLite ([#356](https://github.com/WordPress/sqlite-database-integration/pull/356))

#### 2.2.22

 * Support INSERT without INTO keyword ([#354](https://github.com/WordPress/sqlite-database-integration/pull/354))
 * Add tests for MySQL row-level locking clauses ([#342](https://github.com/WordPress/sqlite-database-integration/pull/342))
 * Improve automated deploy setup.

#### 2.2.21

 * Monorepo setup + release automation ([#334](https://github.com/WordPress/sqlite-database-integration/pull/334))
 * Rework release workflow ([#350](https://github.com/WordPress/sqlite-database-integration/pull/350))
 * Fix incorrect PHP polyfill implementations ([#338](https://github.com/WordPress/sqlite-database-integration/pull/338))

## 中繼資料

 *  版本 **2.2.23**
 *  最後更新 **3 天前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 6.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [Catalan](https://ca.wordpress.org/plugins/sqlite-database-integration/)、[Chinese (Taiwan)](https://tw.wordpress.org/plugins/sqlite-database-integration/)、
   [Czech](https://cs.wordpress.org/plugins/sqlite-database-integration/)、[English (US)](https://wordpress.org/plugins/sqlite-database-integration/)、
   [German](https://de.wordpress.org/plugins/sqlite-database-integration/)、[Persian](https://fa.wordpress.org/plugins/sqlite-database-integration/)、
   [Polish](https://pl.wordpress.org/plugins/sqlite-database-integration/)、[Portuguese (Brazil)](https://br.wordpress.org/plugins/sqlite-database-integration/)、
   [Russian](https://ru.wordpress.org/plugins/sqlite-database-integration/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/sqlite-database-integration/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/sqlite-database-integration/)、
   及 [Swedish](https://sv.wordpress.org/plugins/sqlite-database-integration/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/sqlite-database-integration)
 * 標籤
 * [database](https://tw.wordpress.org/plugins/tags/database/)[performance](https://tw.wordpress.org/plugins/tags/performance/)
 *  [進階檢視](https://tw.wordpress.org/plugins/sqlite-database-integration/advanced/)

## 評分

 4.6 星，滿分為 5 星

 *  [  10 個 5 星使用者評論     ](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/sqlite-database-integration/reviews/)

## 參與者

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Jan Jakeš ](https://profiles.wordpress.org/janjakes/)
 *   [ Adam Zieliński ](https://profiles.wordpress.org/zieladam/)
 *   [ Bero ](https://profiles.wordpress.org/berislavgrgicak/)
 *   [ Brandon Payton ](https://profiles.wordpress.org/bpayton/)
 *   [ zaerl ](https://profiles.wordpress.org/zaerl/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/sqlite-database-integration/)