Mailinglist Archive: opensuse-factory (341 mails)
| < Previous | Next > |
[opensuse-factory] mysql sysconfig
- From: Michal Hrusecky <mhrusecky@xxxxxxx>
- Date: Mon, 2 Feb 2009 15:42:09 +0100
- Message-id: <20090202144209.GA21571@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi,
I've been thinking and MySQL uses MYSQLD_MULTI in /etc/sysconfig/mysql
to determine whether user wants to start several instances of MySQL. If
it is set to yes, init script starts mysql daemon for every mysqldN
section in /etc/my.cnf As some users find it confusing to have
/etc/my.cnf and /etc/sysconfig/mysql at the same time, I propose to drop
/etc/sysconfig/mysql. It should be possible to check in init script
whether user has several daemons configured and act accordingly. So we
can get rid of the other configuration file and depend only on one
configuration file. Only question is if anybody else then mysql need
this sysconfig file... Does anybody think that we should preserve this
sysconfig file? Do you know about anything else what needs this
sysconfig variable?
--
Michal Hrusecky
Package Maintainer
SUSE LINUX, s.r.o
e-mail: mhrusecky@xxxxxxx
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
I've been thinking and MySQL uses MYSQLD_MULTI in /etc/sysconfig/mysql
to determine whether user wants to start several instances of MySQL. If
it is set to yes, init script starts mysql daemon for every mysqldN
section in /etc/my.cnf As some users find it confusing to have
/etc/my.cnf and /etc/sysconfig/mysql at the same time, I propose to drop
/etc/sysconfig/mysql. It should be possible to check in init script
whether user has several daemons configured and act accordingly. So we
can get rid of the other configuration file and depend only on one
configuration file. Only question is if anybody else then mysql need
this sysconfig file... Does anybody think that we should preserve this
sysconfig file? Do you know about anything else what needs this
sysconfig variable?
--
Michal Hrusecky
Package Maintainer
SUSE LINUX, s.r.o
e-mail: mhrusecky@xxxxxxx
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |