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

Importing localwp.sql keeps having errors...

When I try to do import the exported data base from localhost, which is localwp.sql, I can't import it. It keeps saying there's an error.

Error SQL query:

--

-- Database: localwp


--

-- Table structure for table wptest_commentmeta

CREATE TABLE wptest_commentmeta (

meta_id BIGINT( 20 ) UNSIGNED NOT NULL , comment_id BIGINT( 20 ) UNSIGNED NOT NULL DEFAULT '0', meta_key VARCHAR( 255 ) COLLATE utf8mb4_unicode_520_ci DEFAULT NULL , meta_value LONGTEXT COLLATE utf8mb4_unicode_520_ci ) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_520_ci;

MySQL said: Documentation

1273 - Unknown collation: 'utf8mb4_unicode_520_ci'

Can someone help me about this?