1. 程式人生 > >mysql 修改各種編碼

mysql 修改各種編碼

1. mysql> set character_set_client=utf8;
2 mysql> set character_set_connection=utf8;
3 mysql> set character_set_database=utf8;
4 mysql> set character_set_results=utf8;
5 mysql> set character_set_server=utf8;
6 mysql> set character_set_system=utf8;
7 mysql> set collation_connection=utf8;
8 mysql> set collation_database=utf8;
9 mysql> set collation_server=utf8;