Mysql 中文乱码问题

Mysql 中文乱码问题

set  names  ' utf8 '  ;
alter   database  databaseName  character   set  utf8; 
create   database  mydb  character   set  utf8; 
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; 

set  collation_connection = utf8_unicode_ci; 
set  collation_database = utf8_unicode_ci; 
set  collation_server = utf8_unicode_ci;

你可能感兴趣的:(Mysql 中文乱码问题)