Home  >  Article  >  Database  >  Why Does Importing a WordPress Database into cPanel Cause the \"#1273 - Unknown collation: \'utf8mb4_unicode_ci\'\" Error, and How Can I Fix It?

Why Does Importing a WordPress Database into cPanel Cause the \"#1273 - Unknown collation: \'utf8mb4_unicode_ci\'\" Error, and How Can I Fix It?

Patricia Arquette
Patricia ArquetteOriginal
2024-11-01 04:31:27550browse

Why Does Importing a WordPress Database into cPanel Cause the

Resolving "Unknown Collation" Error in cPanel with "#1273 - Unknown collation: 'utf8mb4_unicode_ci'"

Importing a WordPress database into cPanel's phpMyAdmin can yield the frustrating "#1273 - Unknown collation: 'utf8mb4_unicode_ci'" error. If Google's solutions prove elusive, consider the following approach:

Step-by-Step Solution:

  1. Navigate to the "Export" tab for the database you wish to transfer.
  2. Select the "Custom" radio button.
  3. Locate the section labeled "Format-specific options."
  4. Change the dropdown titled "Database system or older MySQL server to maximize output compatibility with:" to "MYSQL40."
  5. Scroll down and initiate the export process by clicking "GO."

Potential Data Loss Considerations:

While this method can resolve the error, it's crucial to be aware of potential data loss. One user has reported losing data stored in Black Studio TinyMCE Visual Editor widgets. However, further testing is necessary for confirmation.

Should you encounter this error, apply the above solution carefully.

The above is the detailed content of Why Does Importing a WordPress Database into cPanel Cause the \"#1273 - Unknown collation: \'utf8mb4_unicode_ci\'\" Error, and How Can I Fix It?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn