Title: TiDB Compatibility
Author: xuliwen
Published: <strong>2024-03-06</strong>
Last modified: 2025-08-11

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://ps.w.org/tidb-compatibility/assets/icon-256x256.png?rev=3046061)

# TiDB Compatibility

 Autor: [xuliwen](https://profiles.wordpress.org/xuliwen/)

[Pobierz](https://downloads.wordpress.org/plugin/tidb-compatibility.1.0.2.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/tidb-compatibility/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/tidb-compatibility/#reviews)
 * [Rozwój](https://pl.wordpress.org/plugins/tidb-compatibility/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/tidb-compatibility/)

## Opis

TiDB is a high-performance database that is compatible with the MySQL protocol. 
Since MySQL has deprecated the SQL_CALC_FOUND_ROWS function, TiDB also has no intention
of offering the SQL_CALC_FOUND_ROWS function. This leads to an error in WordPress
when using TiDB, indicating that SQL_CALC_FOUND_ROWS is not supported, and submissions
cannot be displayed correctly.

WordPress is also currently working on this issue, but it seems that more time is
needed. #47280 Remove usage of deprecated MySQL SQL_CALC_FOUND_ROWS from WP_Query

This plugin solves the issue of TiDB not providing the SQL_CALC_FOUND_ROWS function.
Once this plugin is activated, parts of WP_Query that use SQL_CALC_FOUND_ROWS will
be replaced with the COUNT(*) function.

This plugin is entirely based on the method mentioned by @akramipro in the article,
and this solution works perfectly and addresses the issue. I’ve turned this method
into a plugin so that those using TiDB can easily resolve this problem. Many thanks
to @akramipro for the excellent work, and I hope the official WordPress team can
address this issue sooner.

### Contribute

Contribute to this plugin on [github.com/pingcap/wordpress-tidb-plugin](https://github.com/pingcap/wordpress-tidb-plugin)

## Recenzje

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

### 󠀁[Must have for TiDB users](https://wordpress.org/support/topic/must-have-for-tidb-users/)󠁿

 [Otto Kekäläinen](https://profiles.wordpress.org/ottok/) 2025-05-07

This plugin is a must-have if you are running TiDB as the database instead of MySQL/
MariaDB.

 [ Przeczytaj 1 recenzje ](https://wordpress.org/support/plugin/tidb-compatibility/reviews/)

## Kontrybutorzy i deweloperzy

„TiDB Compatibility” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

 *   [ xuliwen ](https://profiles.wordpress.org/xuliwen/)
 *   [ it2911 ](https://profiles.wordpress.org/it2911/)

[Przetłumacz wtyczkę “TiDB Compatibility” na swój język.](https://translate.wordpress.org/projects/wp-plugins/tidb-compatibility)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/tidb-compatibility/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/tidb-compatibility/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/tidb-compatibility/)
przez [RSS](https://plugins.trac.wordpress.org/log/tidb-compatibility/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.2

 * Update README, tags

#### 1.0.1

 * Update README, tags and compatibility info

## Meta

 *  Wersja **1.0.2**
 *  Ostatnia aktualizacja **1 rok temu**
 *  Włączone instalacje **70+**
 *  Wersja WordPressa ** 4.7 lub nowszej **
 *  Testowano do **6.8.10**
 *  Wersja PHP ** 6.8.1 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/tidb-compatibility/)
 * Tagi
 * [database](https://pl.wordpress.org/plugins/tags/database/)[sql](https://pl.wordpress.org/plugins/tags/sql/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/tidb-compatibility/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  1 recenzja 5-gwiazdkowa     ](https://wordpress.org/support/plugin/tidb-compatibility/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/tidb-compatibility/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/tidb-compatibility/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/tidb-compatibility/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/tidb-compatibility/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/tidb-compatibility/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/tidb-compatibility/reviews/)

## Zaangażowani

 *   [ xuliwen ](https://profiles.wordpress.org/xuliwen/)
 *   [ it2911 ](https://profiles.wordpress.org/it2911/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/tidb-compatibility/)