Package: mysql-server-5.0
Version: 5.0.24a-9

Short description: Despite comments in config-file configuration files
from /var/lib/mysql/my.cnf are not read.

Detailed description:

The configuration file in /etc/mysql/my.cnf reads:
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "/var/lib/mysql/my.cnf" to set server-specific options or
# - "~/.my.cnf" to set user-specific options.

However as of mysql5:
http://dev.mysql.com/doc/refman/5.0/en/option-files.html
"In MySQL 5.0, use of DATADIR as the location for my.cnf is deprecated."

And indeed if I check with
[EMAIL PROTECTED]:#  mysqld --verbose --help

I get:
Default options are read from the following files in the given order:
/etc/mysql/my.cnf ~/.my.cnf /etc/mysql/my.cnf

And indeed the values reflect that of the default file only, not any
other  my.cnf placed any other place.

(In the start script HOME for the mysql-user is set to /etc/mysql/ as
well, so instead of the three options, there is really only one
option.)


Expected behaviour: Change start-script/mysql compiletime options so
that my.cnf from other places are read and used. Alternatively a
change of the documentation would be fine as well.


Regards

Sencer


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to