List:General Discussion« Previous MessageNext Message »
From:Dušan Pavlica Date:January 10 2006 10:34am
Subject:Re: How can I keep character_set_client value after MyODBC auto reconnect?
View as plain text  
Hi,

did you try SET CHARACTER SET utf8 as Initial Statement under Connection 
Options of your MyODBC DSN?
HTH,
Dusan
----- Original Message ----- 
From: "古雷" <leig@stripped>
To: "MySQL List" <mysql@stripped>
Sent: Monday, January 09, 2006 10:19 AM
Subject: How can I keep character_set_client value after MyODBC auto 
reconnect?


> Hello:
>
> I found that MyODBC use mysql_ping to check connection and reconnect.
> After reconnect by using mysql_ping character_set_client, 
> character_set_connection and character_set_results go back to latin1.
> But I need them to be utf8.
> What can I do with MyODBC?
>
> Regards,
>
> gu lei
>
> 祝 事业有成,家庭和睦,身体健康,一切吉祥
>
> 古雷
> -------------------------------------------
> 中企动力科技集团
> 技术事业发展部___技术架构部
>              \__企业IP通讯部
> 电话:010 58022278-302
> 地址:北京亦庄经济技术开发区北工大软件园
>      (地盛北街1号)A区3号楼
> 邮编:100176
> 

Thread
How can I keep character_set_client value after MyODBC auto reconnect?古雷9 Jan
  • Re: How can I keep character_set_client value after MyODBC auto reconnect?Dušan Pavlica10 Jan
  • Re: How can I keep character_set_client value after MyODBC auto reconnect?古雷11 Jan
    • Re: How can I keep character_set_client value after MyODBC auto reconnect?SGreen11 Jan
      • Re: How can I keep character_set_client value after MyODBC auto reconnect?古雷12 Jan
        • Performance tuning...Sebastien Roy13 Jan
        • Monitoring...Sébastien Roy16 Jan