MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Compiling mysql client libraries
Posted by: Shuichi Tamagawa
Date: May 26, 2005 03:09PM

Jany,

There is a server variable whichi is a string of command executed by server for each client connection.
By setting a command 'SET NAMES utf8', client act as it was compiled --with-charset=utf8.

You can set the variables in my.cnf file like:

[mysqld]
init_connect='SET NAMES utf8'

http://dev.mysql.com/doc/mysql/en/server-system-variables.html

NOTE:
This variable is available in ver. 4.1.2 or higher

Options: ReplyQuote


Subject
Views
Written By
Posted
3752
May 26, 2005 01:36PM
Re: Compiling mysql client libraries
2636
May 26, 2005 03:09PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.