Hi,
I have developed a wordpress site, and need to export the db and then import that db at another host, all would be good, but I think my side is older than their side and when I try to import the db I get the following error -
Error
SQL query:
-- --------------------------------------------------------
--
-- Table structure for table `wp_nf3_actions`
--
CREATE TABLE IF NOT EXISTS `wp_nf3_actions` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`title` longtext COLLATE utf8mb4_unicode_520_ci,
`key` longtext COLLATE utf8mb4_unicode_520_ci,
`type` longtext COLLATE utf8mb4_unicode_520_ci,
`active` tinyint( 1 ) DEFAULT '1',
`parent_id` int( 11 ) NOT NULL ,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
`updated_at` datetime DEFAULT NULL ,
UNIQUE KEY `id` ( `id` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_520_ci AUTO_INCREMENT =21;
MySQL said: Documentation
#1273 - Unknown collation: 'utf8mb4_unicode_520_ci'
I looked into it and found the following fix, but I dont know how to do it
Error 1273 means that your database is using a collation, which the MySQL server does not understand. This can happen, when you use a database, which has been created with a newer version of MySQL, with an older MySQL server version. This problem can be solved by converting the wrong collations from utf8mb4_unicode_ci to utf8_general_ci. There is a script on stackoverflow, which does exactly that.
Can anyone help with this