[MySql] 设置了UTF8,中文存数据库中仍然出现问号

运行命令:SHOW VARIABLES LIKE 'character_set_%';

结果

'character_set_client', 'utf8'

'character_set_connection', 'utf8'

'character_set_database', 'latin1'

'character_set_filesystem', 'binary'

'character_set_results', 'utf8'

'character_set_server', 'latin1'

'character_set_system', 'utf8'

'character_sets_dir', 'D:\soft_work\mysql\share\charsets\' 果然发现有几个不对的 运行命令:SHOW VARIABLES LIKE 'collation_%'; 结果如下 'collation_connection', 'utf8_general_ci' 'collation_database', 'latin1_general_ci' 'collation_server', 'latin1_general_ci'

posted @ 2013-09-22 14:31  NowhereMan  阅读(7320)  评论(0编辑  收藏  举报