Plugin info

Total downloads: 1,088
Active installs: 30
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/11/2025 (142 days ago)
Added to WordPress: 3/6/2024 (1 years old)
Minimum WordPress version: 4.7
Tested up to WordPress version: 6.8.3
Minimum PHP version: 6.8.1

Maintenance & Compatibility

Maintenance score

Maintained • Last updated 142 days ago • 1 reviews

52/100

Is TiDB Compatibility abandoned?

Likely maintained (last update 142 days ago).

Compatibility

Requires WordPress: 4.7
Tested up to: 6.8.3
Requires PHP: 6.8.1

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

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

Installation

No installation instructions available

Frequently Asked Questions

No FAQ available

Review feed

Otto Kekäläinen
5/7/2025

Must have for TiDB users

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

Screenshots

No screenshots available

Changelog

1.0.2

  • Update README, tags

1.0.1

  • Update README, tags and compatibility info