艺海无涯,学无止境。欢迎一起探讨技术和人生,了解我

Mysql修改字符集的方法

修改字符集的方法,就是使用mysql的命令

 mysql> SET character_set_client = utf8 ;
mysql> SET character_set_connection = utf8 ;
mysql> SET character_set_database = utf8 ;
mysql> SET character_set_results = utf8 ;
mysql> SET character_set_server = utf8 ;
mysql> SET collation_connection = utf8 ;
mysql> SET collation_database = utf8 ;
mysql> SET collation_server = utf8 ;