Can't move site to new hosting – DB Charset utf8mb4 problem
-
Hello,
we have a serious problem. We have developed a site with WPML. On our Server is MySQL Version 5.5.x is installed, but on the client’s server there is only the Version 5.1.x.
When we tried to move the site to the hosting of the client, there was errors because of the charset of the db. We couldn’t import the DB because it has the charset ‘utf8mb4’ and this is only supported from the MySQL Version 5.53 or above.
We tried to change the charset in the sql file, but it’s also not working. The website is there, but only 1 language is showing up, the language switcher is also gone, the footer also, and there is an error message:Warning: mysqli_set_charset(): Error executing query in ../wp-includes/wp-db.php on line 772
The backend is also not working, there are 2 error messages:
Warning: mysqli_set_charset(): Error executing query in ../wp-includes/wp-db.php on line 772
Warning: Cannot modify header information – headers already sent by (output started at ../wp-includes/wp-db.php:772) in ../wp-includes/pluggable.php on line 1196
Is there maybe a workaround?
We contacted the hoster, but they can’t upgrade the MySQL. So this is not an option.
Thanks!
- The topic ‘Can't move site to new hosting – DB Charset utf8mb4 problem’ is closed to new replies.