On Thursday 07 August 2008, Darton Williams wrote: > On Thu, Aug 7, 2008 at 8:54 AM, Arkadiusz Miskiewicz <[EMAIL PROTECTED]> > wrote: > > I'm fetching some data from mysql with national characters. mysql needs > > to be told which character encoding client wants. It's done by query "SET > > NAMES xyz" (like SET NAMES latin2). > > > > I wonder how to do that in exim so all connections to mysql will have > > "set names" as first command. Is there some smart way without patching > > exim? > > Somewhat OT, but: > > Try > > init-connect='SET NAMES <charset>' > > in the [mysqld] section of your my.cnf. This will set all connections > to use that charset.
That's worse possible solution because it applies to everything, not only to exim connection. -- Arkadiusz MiĆkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
