Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7243

my.cnf (Linux): $MYSQL_HOME/my.cnf is not loaded (no replies)

$
0
0
Hello,

I upgraded from MySQL 5.1 to MySQL 5.5 without changing the Linux environment.

In the my.cnf is the section [mysql] for the client.

In my 5.5-environment $MYSQL_HOME is not used and the options in the my.cnf are ignored (refer to http://dev.mysql.com/doc/refman/5.5/en/option-defaults-equals.html).

By using "mysql --help" I see that under 5.1.53 the my.cnf in $MYSQL_HOME is used ("/DBDATA/instance1/my.cnf"). In MySQL 5.5.8 it is missing but $MYSQL_HOME is set.

The my.cnf seems correct as "mysql --defaults-file=$MYSQL_HOME/my.cnf --help" shows the correct configuration.

is it a bug?

Regards,
Holger



mysql> mysql --help
...

Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf /DBDATA/instance1/my.cnf ~/.my.cnf

Viewing all articles
Browse latest Browse all 7243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>