Hello.
> Any possible problems with this approach? It is good, if it solved your problems. >> So it works for me. > > I've ended doing this in a different way. I've created a patch which forces= > a=20 > file to be read - /etc/mysql/mysql-client.conf (which is the same as .my.cn= > f)=20 > at mysql_init() time. All clients that use libmysqlclient.so should read it= > =20 > now. > > http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/mysql-client-config.patch?r= > ev=3D1.1 > > Now I can put defaults in that global config: > > [EMAIL PROTECTED] ~]$ more /etc/mysql/mysql-client.conf > [client] > default-character-set=3Dlatin2 > > Now all my clients connect with latin2 as default. > > Any possible problems with this approach? > > =2D-=20 > Arkadiusz Mi=B6kiewicz PLD/Linux Team > http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/ > -- 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]