最好别用mysql 4.1.X  版本,容易出现乱码等相关问题

解决方案 »

  1.   

    你在my.ini中设置了不存在的语言编码
      

  2.   

    我的my.ini,因为中文的问题,所以修改了default-character-set=gb2312
    [client]
    port=3306[mysqld]
    port=3306
    basedir=D:/MySQL/MySQL Server 4.1/
    datadir=D:/MySQL/MySQL Server 4.1/Data/
    default-character-set=gb2312
    default-storage-engine=INNODB
    max_connections=100
    query_cache_size=23M
    table_cache=256
    tmp_table_size=25M
    thread_cache=8#*** MyISAM Specific options
    myisam_max_sort_file_size=100G
    myisam_max_extra_sort_file_size=100G
    myisam_sort_buffer_size=50M
    key_buffer_size=35M
    read_buffer_size=64K
    read_rnd_buffer_size=256K
    sort_buffer_size=256K#*** INNODB Specific options ***
    innodb_additional_mem_pool_size=2M
    innodb_flush_log_at_trx_commit=1
    innodb_log_buffer_size=1M
    innodb_buffer_pool_size=67M
    innodb_log_file_size=10M
      

  3.   

    另外,MYSQL里面所有表和字段都是utf8_bin的
      

  4.   

    有没有老大来指点一下??我把my.ini的default-character-set换成GBK,表和字段也换为GBK,还是出这个问题
    File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set '#28' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file 难道我得用回3.23?
      

  5.   

    Try default-character-set = latin1 in my.ini