使用默认的编码格式(lant1)创建数据表,然后在插入数据的时候,有数据不匹配的问题,所以需要修改编码
查看编码格式SHOW VARIABLES LIKE 'character%';
SET character_set_client = utf8;
SET character_set_connection = utf8;
SET character_set_database = utf8;
SET character_set_filesystem = utf8;
SET character_set_results = utf8;
SET character_set_server = utf8;
我这里将所有编码格式设置为 utf-8