WordPress数据库查询SELECT p.ID, pm.meta_value, p.post_type, p.post_status FROM wp_jianbihuaposts AS p INNER JOIN wp_jianbihuapostmeta AS pm ON (pm.post_id = p.ID) WHERE pm.meta_key = 'custom_permalink' AND (pm.meta_value = 's=/search/keyword/word/.html' OR pm.meta_value = 's=/search/keyword/word/.html/') AND p.post_status != 'trash' AND p.post_type != 'nav_menu_item' ORDER BY FIELD(post_status,'publish','private','pending','draft','auto-draft','inherit'), FIELD(post_type,'post','page') LIMIT 1时发生Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation '='错误,这是由require('D:\wwwroot\www.sumiaowang.com\wp-blog-header.php'), wp, WP->main, WP->parse_request, apply_filters('request'), WP_Hook->apply_filters, Custom_Permalinks_Frontend->parse_request查询的 WordPress数据库查询SELECT p.ID, pm.meta_value, p.post_type, p.post_status FROM wp_jianbihuaposts AS p INNER JOIN wp_jianbihuapostmeta AS pm ON (pm.post_id = p.ID) WHERE pm.meta_key = 'custom_permalink' AND (pm.meta_value = 's=/search/keyword/word/.html' OR pm.meta_value = 's=/search/keyword/word/.html/') AND p.post_status != 'trash' AND p.post_type != 'nav_menu_item' ORDER BY FIELD(post_status,'publish','private','draft','auto-draft','inherit'), FIELD(post_type,'post','page') LIMIT 1时发生Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation '='错误,这是由require('D:\wwwroot\www.sumiaowang.com\wp-blog-header.php'), require_once('D:\wwwroot\www.sumiaowang.com\wp-includes\template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, Custom_Permalinks_Frontend->make_redirect查询的