TiDB Compatibility
This plugin is an official tool provided by PingCAP, designed to solve compatibility issues between TiDB and WordPress.
Choix solide
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 1 month ago, and scores 63/100 on our health check.
- Développé activement — Dernière mise à jour il y a 1 mois
- Momentum — downloads up 526% vs the previous 30 days
- Petite base d'utilisateurs (80+ installations actives)
- Très peu de critiques jusqu'à présent
- Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where TiDB Compatibility stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| base de données | >100 |
| sql | #67 |
| tidb | #1 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 1 avis
About TiDB Compatibility
À partir du Lisezmoi officiel · v1.0.3Description
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.
Configuration
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.
Contribuer
Contribute to this plugin on github.com/pingcap/wordpress-tidb-plugin
Journal de modifications
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
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best TiDB Compatibility alternatives
Tous les plugins de base de données →FAQ
TiDB Compatibility: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : 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 1 month 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,260 times since it launched in March 2024. It was downloaded 1,828 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 (1 month 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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
