TiDB Compatibility
This plugin is an official tool provided by PingCAP, designed to solve compatibility issues between TiDB and WordPress.
Escolha sólida
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.
- Desenvolvido ativamente — última atualização 4 semanas atrás
- Momentum — downloads up 1083.4% vs the previous 30 days
- Pequena base de usuários (mais de 80 instalações ativas)
- Muito poucos comentários até agora
- Testado apenas até WordPress 6.8 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where TiDB Compatibility stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| banco de dados | >100 |
| sql | #65 |
| tidb | #1 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★ ★★★★★ 5 de 1 comentários
About TiDB Compatibility
From the official readme · v1.0.3Descrição
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.
Contribute
Contribute to this plugin on github.com/pingcap/wordpress-tidb-plugin
Log de Changes
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
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best TiDB Compatibility alternatives
All database plugins →FAQ
TiDB Compatibility: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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,119 times since it launched in March 2024. It was downloaded 1,858 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
