Hi,
I have noticed in the man page for mysql from
MySQL-client-community-5.0.37-0.sles9.i586.rpm there is a repetition in
the my.cnf files read by mysql. I am wondering if this is at all
significant.
This is what "man mysql" shows for the
MySQL-client-community-5.0.37-0.sles9.i586.rpm install,
mysql Ver 14.12 Distrib 5.0.37, for pc-linux-gnu (i686) using
readline 5.0
Default options are read from the following files in the given
order:
/etc/my.cnf ~/.my.cnf /etc/my.cnf
So the order is
/etc/my.cnf
~/.my.cnf
/etc/my.cnf
On Debian Sarge with 4.1.11, the order is more sensible,
mysql Ver 14.7 Distrib 4.1.11, for pc-linux-gnu (i386)
Default options are read from the following files in the given
order:
/etc/mysql/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf
The order on Sarge, 4.1.11 is
/etc/mysql/my.cnf
/var/lib/mysql/my.cnf
~/.my.cnf
Cheers,
-Janek
| Thread |
|---|
| • Duplication in sles9 for my.cnf | Janek Bogucki | 16 Apr |