出现此错误
ErrorSQL查询:----数据库:dev_weightloss
----
----------------------------------- Table structure for table
`wp_commentmeta`--CREATE TABLE IF NOT EXISTS `wp_commentmeta` (`meta_id`
bigint(20) unsigned NOT NULL AUTO_INCREMENT,`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,PRIMARY KEY (`meta_id`),KEY `comment_id`
(`comment_id`),KEY `meta_key` (`meta_key`(191))) ENGINE=MyISAM DEFAULT
CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci AUTO_INCREMENT=1 ;MySQL
said: Documentation#1273 - Unknown collation: 'utf8mb4_unicode_520_ci'
最佳答案
在文本编辑器中打开数据库 sql 文件;
在文本编辑器中打开 sql 文件;
搜索utf8mb4_unicode_520_ci替换utf8_general_ci替换所有搜索
搜索utf8mb4替换为utf8替换所有搜索
关于php - 无法导入wordpress数据库出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49360927/