Support

Site Restoration

#35514 error restoring mysql database

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Saturday, 14 August 2021 20:17 CDT

open-mvergara

I am trying to migrate the site to a new server, but I am getting the error shown above:

Unknown collation: 'utf8mb4_unicode_ci'
 SQL=CREATE TABLE `zl49t_breezingforms` (   `id` int NOT NULL,   `language` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci

Could you give me some directions about how resolve this?

tampe125
Akeeba Staff

Hello,

it seems that the original database collation is not available on the new server. First of all I'd suggest to contact your host and ask them if it's possible to add it; most likely they will tell you that it's not possible, but maybe it's worth trying.

The other option is to change the collation to something that is supported by your new database. While restoring, first try by checking the option Allow UTF8MB4 auto-detection. 

If it's still failing, your last resort is to use UTF-8, but please note that you could have some mangled characters if you used emojis or special Chinese chars. Please check the option Force UTF-8 collation on database and DO NOT check the option Allow UTF8MB4 auto-detection.

That should fix your issue, let me know how it goes.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!