Reputation: 101
I exported a WordPress database from Sequel Pro and when trying to import it, I get this error:
Unknown collation: 'utf8mb4_unicode_520_ci'
I checked this similar question and did these steps:
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
to ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
but didnt workHow can I successfully import this sql database ?
Upvotes: 2
Views: 10610
Reputation: 416
The same thing occurred to me, when i was importing local wordpress database to server.
Open the sql dump in text editor and set
CHARSET
to utf8mb4
and
COLLATE
to utf8mb4_unicode_ci
Upvotes: 3