Hello.
You should carefully read chapters of manual related to the character sets. Use SET NAMES 'gbk' or SET character_set_client = 'gbk'; SET character_set_results = 'gbk'; SET collation_connection = 'gbk'; to specify character_set_client, character_set_result, character_set_conection. Also you can put in your [client] section of my.cnf something like: default_character_set=gbk Database character set depends on character set stated when database had been created and server character set. Zimoo <[EMAIL PROTECTED]> wrote: > Hi All, > > I am a newbie and use MySQL 4.1.8 on Windows XP, I put my.ini in > MySQL directory. When I add "character_set_server = gbk" to my.ini, > everything is OK. The Server could normal startup. But when I add > other "character_set_xxx" to my.ini, such as > > [mysqld] > character_set_database = gbk > collation_database = gbk_bin > character_set_results = gbk > character_set_client = gbk > character_set_connection = gbk > collation_connection = gbk_bin > > Then, I could not start my MySQL server. > > How should I use these character set server variables? > Could I use them in my.ini file or just in mysql client window like: > mysql>set character_set_results = gbk ? > > Thanks in advance. > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]