Re: [exim] [SOLVED] exim mysql and utf8

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Juan Bernhard
Date:  
À: exim-users
Sujet: Re: [exim] [SOLVED] exim mysql and utf8

El 18/02/2016 a las 05:09 p.m., Jeremy Harris escribió:
> Ah, you may need even more recent than 4.86 - which means compiling
> from the git tree master.
>
> Possibly relevant:
>
>    https://dev.mysql.com/doc/refman/5.5/en/mysql-options.html

>
> - mentions a default-character-set option you may put in a
> MySQL option file. Exim (at least recently [1]) sets the
> MYSQL_READ_DEFAULT_GROUP option flag on the DB connection,
> saying to use the "default" option group in the "my.cnf" file
> (or a specified group name, if you care).
>
> Before that commit this option flag was not set.
>
> I'd guess you need to tell it there to use utf8.


Thanks a lot, Jeremy! I downloaded and compiled the lastest git tree
source, put the default-character-set in a [default] group in my.cnf,
and all worked fine.
You save me from doing nasty things in the database.

Saludos, Juan.