开发者

how can i set mysql connection charactor in sqlapi++

开发者_运维技巧

I want to use mysql with utf8, but i dont know how to set this.

can anyone help me? thanks a lot!


simply perform this query:

command.setCommandText("SET NAMES 'utf8'");
command.Execute();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜