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 trialSean McIntosh
18,966 PointsError 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
Treehouse Guest TeacherTry 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
18,966 PointsThanks 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.