mysql乱码?一劳永逸修改mysql字符集!

mysql乱码?一劳永逸修改mysql字符集!

set character_set_client = utf8;
set character_set_server = utf8;
set character_set_connection = utf8;
set character_set_database = utf8;
set character_set_results = utf8;
set collation_connection = utf8_general_ci;
set collation_database = utf8_general_ci;
set collation_server = utf8_general_ci;

你可能感兴趣的:(笔记,mysql)