Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Migrating WordPress from Local to Live Server

Sean McIntosh
Sean McIntosh
18,966 Points

Error importing localwp database

When i try to import localwp.sql to my server hosted database using PHP MyAdmin the following error is displayed:

Error SQL query:

/*!40101 SET NAMES utf8mb4 */;

MySQL said: Documentation

1115 - Unknown character set: 'utf8mb4'


Can anyone help me out?

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Try checking out this article: http://stackoverflow.com/questions/21911733/error-1115-42000-unknown-character-set-utf8mb4-in-mysql

It sounds like the database you created and the one you are importing are not using the same character set. It may also have to do with needing to update your local MySQL.

Sean McIntosh
Sean McIntosh
18,966 Points

Thanks Zac, I thought that may be the problem so i contacted my hosting support team and they moved me to a MYSQL 5.6 machine.