🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Database Collation Fix icon
Maintained Tested up to 7.0.9 #1 in collation algorithm

Database Collation Fix

Convert tables using utf8mb4_unicode_520_ci or utf8_unicode_520_ci collation to a more portable Collation Algorithm.

Active installs1K+1K+ tier
Downloads · 30d939▼ -15.9% vs prev. 30d
Rating5/521 reviews
Health score72/100Good
All-time downloads38.5KSince Apr 2017
Support resolved—No recent threads
RequiresWP 4.6PHP 5.3.1+
Downloads · 7d272▲ +13.8% week over week
Our verdict

Solid choice

Database Collation Fix is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 5 months ago, and scores 72/100 on our health check.

  • Loved by users — 5/5 from 21 reviews

Daily downloads

306090Sep 4Oct 18Dec 2
Yesterday69
Daily average (1y)31
Peak day337Jul 13, 2026
Last 12 months11.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Database Collation Fix stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
collation algorithm #1 9 Best collation algorithm plugins →
database #13 10,000 Best database plugins →
Illegal mix of collations #1 10 Best Illegal mix of collations plugins →
migration >100 4,373 Best migration plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

Rating breakdown

★★★★★★★★★★ 5 from 21 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Database Collation Fix

From the official readme · v1.2.11

Description

Since version 4.2, WordPress has been detecting the MySQL version and if it’s version 5.5.3 or greater, automatically selecting the ‘utf8mb4_unicode_520_ci’ Collation Algorithm. This works well until you need to migrate your database to an older version of MySQL that does not support the utf8mb4 algorithms. Then, you run into the error message: “#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci'” when importing your database.

With the WordPress 5.7 update and WooCommerce 5.1, some users are reporting an error: “SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb4_unicode_520_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT)”. The Database Collation Fix tool also fixes this issue by changing the collation of all columns in your database to use the same algorithm, removing the “mix” of collations.

Usage Scenarios:

This plugin will work in any WordPress install: local, staging or live.

Alternatively, you can install this as a regular WordPress plugin on any site. Once activated, all of your database tables will be updated to use the more portable Collation Algorithm. If you are migrating your web site, you can install and activate the plugin then perform your database export. Once you have migrated your site, you can deactivate and remove the plugin as it would be no longer needed. If you will be exporting and/or migrating your site repeatedly, such as when using it on a test or staging install, you can leave the plugin active indefinitely and it will continue to monitor and update your database tables automatically, allowing you to perform migrations at any time. This is ideal in situations where you are installing or testing plugins that may create their own database tables, as these tables may be created with the newer Collation Algorithms that are not as portable.

How it Works:

The Database Collation Fix tool converts database tables using ‘utf8mb4_unicode_520_ci’ or ‘utf8_unicode_520_ci’ Collation Algorithms to a more portable ‘utf8mb4_unicode_ci’ collation on a once daily basis. It also modifies any column-specific collation statements, not just the default table collation. This means that you can install this plugin and it will continue to monitor all of your database tables and convert them to the more portable Collation Algorithm automatically.

This tool will convert your database tables and columns to use the ‘utf8mb4_unicode_ci’ Collation Algorithm. This can be modified to any other Collation Algorithm you wish by updating your wp-config.php file and adding or changing the following setting:

define('DB_COLLATE', 'utf8_general_ci');

You can use ‘utf8_general_ci’ or ‘utf8’ or any other Collation Algorithm supported by your database. See https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html for a full description of MySQL’s Character Set and Collation Algorithm selections.

Support:

Support Details: We are happy to provide support and help troubleshoot issues. Visit our Contact page at http://davejesch.com/contact/ or submit a support request on the WordPress plugin page.

We are not responsible for any loss of data that may occur as a result of using this tool. We strongly recommend performing a site and database backup before testing and using this tool. However, should you experience such an issue, we want to know about it right away.

Installation

Installation instructions: To install, do the following:

  1. From the dashboard of your site, navigate to Plugins –> Add New.
  2. Select the “Upload Plugin” button.
  3. Click on the “Choose File” button to upload your file.
  4. When the Open dialog appears select the databasecollationfix.zip file from your desktop.
  5. Follow the on-screen instructions and wait until the upload is complete.
  6. When finished, activate the plugin via the prompt. A confirmation message will be displayed.

or, you can upload the files directly to your server.

  1. Upload all of the files in databasecollationfix.zip to your /wp-content/plugins/databasecollationfix directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Changelog

First release.

1.2.11 – Jul 9, 2026

Fix vulnerabilty: CVE-2023-23997 sanitize and check forced algorithm against known list. Thanks to Mika for pointing this out.

1.2.10 – Jan 16, 2024

Fix bug: default clause on column not preserved. Thanks drylek.

1.2.9 – May 6, 2023

Update text domain to match plugin slug.

1.2.8 – Apr 24, 2023

Fix CSRF vulnerability.

1.2.7 – Apr 1, 2021

Add request method check; update readme.txt contents.

1.2.6 – Aug 2, 2018

Add handling for FULLTEXT indexes.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

FAQ

Database Collation Fix: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Database Collation Fix free?

Yes. Database Collation Fix is free to download and use from the official WordPress.org plugin directory.

Is Database Collation Fix safe to use in 2026?

Database Collation Fix is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 5 months ago, and scores 72/100 on our health check.

How many websites use Database Collation Fix?

Database Collation Fix is active on 1K+ WordPress websites and has been downloaded 38,538 times since it launched in April 2017. It was downloaded 939 times in the last 30 days.

Does Database Collation Fix work with WordPress 7.1?

Database Collation Fix is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Database Collation Fix need?

Database Collation Fix requires PHP 5.3.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Database Collation Fix last updated?

The latest version, 1.2.11, was released on July 10, 2026 (5 months ago).

Who makes Database Collation Fix?

Database Collation Fix is developed and maintained by Dave Jesch.

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open