TiDB Compatibility
This plugin is an official tool provided by PingCAP, designed to solve compatibility issues between TiDB and WordPress.
Solide Wahl
TiDB Compatibility is a solid plugin choice in 2026, with a few things worth checking first. It runs on 80+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 63/100 on our health check.
- Aktiv entwickelt — letztes Update vor 4 Wochen
- Momentum — downloads up 1018.1% vs the previous 30 days
- Kleine Benutzerbasis (80+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Nur getestet bis WordPress 6.8 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where TiDB Compatibility stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Datenbank | >100 |
| sql | #67 |
| tidb | #1 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 1 reviews
About TiDB Compatibility
Aus der offiziellen Readme · V1.0.3Beschreibung
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.
Konfiguration
The plugin only rewrites queries when the database server reports itself as TiDB.
- Define
WTC_DISABLEastrueinwp-config.phpto switch the rewrite off. - Use the
tidb_compatibility_enabledfilter (from a plugin or must-use plugin, not a theme) to override the TiDB detection. - With
WP_DEBUGenabled, the plugin logs to the PHP error log when it is inactive, when it keeps the core count query, and when its count query fails. Activation and deactivation are always logged.
Beitragen
Contribute to this plugin on github.com/pingcap/wordpress-tidb-plugin
Änderungsprotokoll
1.0.3
- Security: count found posts from the executed query, so pagination totals no longer include posts hidden by query filters or suppress_filters
- Security: only strip the leading SQL_CALC_FOUND_ROWS keyword, so string literals in queries are never modified
- Only activate on TiDB, add the WTC_DISABLE constant and tidb_compatibility_enabled filter
- Log activation, deactivation and count query fallbacks or failures
1.0.2
- Update README, tags
1.0.1
- Update README, tags and compatibility info
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best TiDB Compatibility alternatives
Alle Datenbank-Plugins →Fragen und Antworten
TiDB Compatibility: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is TiDB Compatibility free?
Yes. TiDB Compatibility is free to download and use from the official WordPress.org plugin directory.
Is TiDB Compatibility safe to use in 2026?
TiDB Compatibility is a solid plugin choice in 2026, with a few things worth checking first. It runs on 80+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 63/100 on our health check.
How many websites use TiDB Compatibility?
TiDB Compatibility is active on 80+ WordPress websites and has been downloaded 4,079 times since it launched in March 2024. It was downloaded 1,789 times in the last 30 days.
Does TiDB Compatibility work with WordPress 7.1?
TiDB Compatibility is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does TiDB Compatibility need?
TiDB Compatibility requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was TiDB Compatibility last updated?
The latest version, 1.0.3, was released on November 2, 2026 (4 weeks ago).
Who makes TiDB Compatibility?
TiDB Compatibility is developed and maintained by xuliwen.
What are the best alternatives to TiDB Compatibility?
The most popular alternatives to TiDB Compatibility are Search Regex (100K+ installs), WP-Sweep (100K+ installs) and Advanced Database Cleaner (100K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
