查询编码:
show variables like 'character%';
设置编码:
SET character_set_client = utf8mb4 ;
SET character_set_connection = utf8mb4 ;
SET character_set_database = utf8mb4 ;
SET character_set_results = utf8mb4 ;
SET character_set_server = utf8mb4 ;
set collation_connection = utf8mb4_general_ci;
set collation_database = utf8mb4_general_ci;
set collation_server = utf8mb4_general_ci;