Home >Database >Mysql Tutorial >How to Fix \'Unknown collation: \'utf8mb4_unicode_ci\'\' Error When Importing WordPress Database in cPanel?
#1273 - Unknown collation: 'utf8mb4_unicode_ci' in cPanel: Troubleshooting and Resolution
Importing a WordPress database from a local machine to a hosted phpMyAdmin on cPanel can lead to an error message indicating an unknown collation, such as "'utf8mb4_unicode_ci.'" This error arises when the exported database contains tables or columns with character sets and collations incompatible with the target environment.
To resolve this issue, follow these steps:
1. Modify Export Settings:
2. Perform Export:
3. Import the Modified Database:
By following these steps, you should be able to import your database successfully without encountering the "Unknown collation" error.
Note: While exporting the database in this manner may potentially result in data loss, this has not been confirmed through extensive testing. Additionally, data saved in Black Studio TinyMCE Visual Editor widgets may be lost during the export process.
The above is the detailed content of How to Fix \'Unknown collation: \'utf8mb4_unicode_ci\'\' Error When Importing WordPress Database in cPanel?. For more information, please follow other related articles on the PHP Chinese website!