[debian-mysql] Bug#444216: mysqld_multi looks for my.cnf in all the wrong places

Atle Veka atlev at flyingcroc.net
Wed Sep 26 21:33:21 UTC 2007


Package: mysql-server-5.0
Version: 5.0.32-7etch1

Assuming that the default location of mysql's configuration is 
`/etc/mysql/my.cnf', mysqld_multi does not work without modifications to 
itself or to system configurations.

mysqld_multi goes looking for its configuration in these places, in order:
 	/usr/etc/my.cnf
 	$ENV{MYSQL_HOME}/my.cnf
 	$homedir/.my.cnf

Shouldn't the first location it checks be `/etc/mysql/my.cnf'?


The following does not work:
# mysqld_multi start 1

The following DOES work:
# mysqld_multi --config-file=/etc/mysql/my.cnf start 1
OR
# export MYSQL_HOME=/etc/mysql
# mysqld_multi start 1


# uname -a
Linux ls1 2.6.18-4-686 #1 SMP Wed Apr 4 17:47:02 PDT 2007 i686 GNU/Linux
# dpkg -s libc6 | grep ^Version
Version: 2.3.6.ds1-13






More information about the pkg-mysql-maint mailing list