[debian-mysql] Bug#637108: Bug#637108: mysqld_multi missing conf

Norvald H. Ryeng norvald.ryeng at oracle.com
Fri Feb 20 08:01:58 UTC 2015


On Mon, 27 Oct 2014 14:13:38 +0100, Mathieu Parent <math.parent at gmail.com>  
wrote:

> Here's an updated wheezy diff:
>
> --- /usr/bin/mysqld_multi.orig    2014-10-27 14:10:23.179114498 +0100
> +++ /usr/bin/mysqld_multi    2014-10-27 14:11:08.767409171 +0100
> @@ -487,6 +487,7 @@
>                 '/usr/my.cnf',
>                 ($ENV{MYSQL_HOME} ? "$ENV{MYSQL_HOME}/my.cnf" : undef),
>                 $opt{'extra-file'},
> +               </etc/mysql/conf.d/*.cnf>,
>                 ($ENV{HOME} ? "$ENV{HOME}/.my.cnf" : undef));
>  }

Thanks for the patch! I think we should fix this in jessie.

Because of the new my.cnf setup (splitting MySQL, MariaDB and Percona), it  
should include /etc/mysql/mysql.conf.d/, too. The directory  
/etc/mysql/conf.d/ is now for client side settings, while  
/etc/mysql/{mysql|mariadb|percona}.conf.d/ is for server side settings.

Unfortunately, the patch only covers one layer of includes, but I guess  
that's better than nothing. A proper fix would be to follow nested  
includes, but we'll have to wait for an upstream fix for that.

As soon as there's an upstream fix, we can backport the patch, but that  
would probably be too late for jessie. I'm poking people upstream to  
increase priority and speed things up a bit.

Regards,

Norvald H. Ryeng



More information about the pkg-mysql-maint mailing list