Title: Persistent database connection updater
Author: Bibin Kurian
Published: <strong>2014 年 8 月 21 日</strong>
Last modified: 2014 年 8 月 21 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/persistent-database-connection-updater.
svg)

# Persistent database connection updater

 由 [Bibin Kurian](https://profiles.wordpress.org/bibinkurian/) 開發

[下載](https://downloads.wordpress.org/plugin/persistent-database-connection-updater.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/persistent-database-connection-updater/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/persistent-database-connection-updater/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/persistent-database-connection-updater/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/persistent-database-connection-updater/#developers)

 [技術支援](https://wordpress.org/support/plugin/persistent-database-connection-updater/)

## 外掛說明

This WordPress plugin automatically updates the MySQL database connection to persistent
connection when user update the WordPress version from backend. This plugin is developed
to use persistent database connection in Microsoft Azure environment for better 
performance with clearDB.

## 安裝方式

 1. Extract the Persistent database connection updater plugin persistent-connection-
    updater.zip to the plugins directory of the WordPress installation.
     e.g. if WordPress
    is installed in “C:\inetpub\wwwroot\wordpress” directory, extract the persistent-
    connection-updater.zip file into directory “C:\inetpub\wwwroot\wordpress\wp-content\
    plugins”.
 2. To activate the plugin, log in into the WordPress as administrator and navigate
    to list of plugins. Then check the associated checkbox for the plugin and click
    on “Activate” link.
 3. If you would like to use this as a must use plugin then instead of step 1 & 2 copy
    the persistent-connection-updater.php file to “wp-content/mu-plugins” folder.

## 使用者評論

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

### 󠀁[persistent connections are not reliable on cleardb shared plans](https://wordpress.org/support/topic/persistent-connections-are-not-reliable-on-cleardb-shared-plans/)󠁿

 [prashanthmadi](https://profiles.wordpress.org/prashanthmadi/) 2016 年 9 月 3 日
1 則留言

Our findings are that persistent connections are inconsistent and should not be 
used. Sometimes they take 200 milliseconds and other times, they can take up to 
19 seconds. In other words, persistent connections are not an auto-fix. The main
problem is that sometimes the persistent connection is lost (ironically). And it
spends time looking to re-establish that connection. If it doesn’t find it, it will
create a new one, but it spends ~19s doing this dance. So you would see a very slow
loading web page (19s+) and will observe “MySQL Server has gone away” in the PHP
error logs when this occurs. persistent connections are not reliable on shared plans

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/persistent-database-connection-updater/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Persistent database connection updater〉的開發相關工作。

參與者

 *   [ Bibin Kurian ](https://profiles.wordpress.org/bibinkurian/)

[將〈Persistent database connection updater〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/persistent-database-connection-updater)

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

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

## 變更記錄

#### 1.0

 * First release of Persistent database connection updater.

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **12 年前**
 *  啟用安裝數 **70+**
 *  WordPress 版本需求 ** 3.9.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.9.40**
 *  語言
 * [English (US)](https://wordpress.org/plugins/persistent-database-connection-updater/)
 * 標籤:
 * [microsoft azure](https://tw.wordpress.org/plugins/tags/microsoft-azure/)[mysql](https://tw.wordpress.org/plugins/tags/mysql/)
 *  [進階檢視](https://tw.wordpress.org/plugins/persistent-database-connection-updater/advanced/)

## 評分

 4 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Bibin Kurian ](https://profiles.wordpress.org/bibinkurian/)

## 技術支援

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

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