随时使用“STATUS; ”命令查看当前的状态:
设置相应编码命令:
SET character_set_client = utf8;
SET character_set_connection = utf8;
SET character_set_database = utf8;
SET character_set_results = utf8;
SET character_set_server = utf8;
之后,在使用“STATUS; ”命令查看现在的状态。