I'm sorry for my wrong report... /etc/init.d/mysql and /etc/logrotate.d/mysql-server have no problem because HOME environment variable is set in thease scripts.
Only /etc/cron.daily/mysql-server has problem. --- mysql-server.dist 2004-09-12 07:49:32.000000000 +0900 +++ mysql-server 2005-02-14 09:49:11.000000000 +0900 @@ -11,6 +11,11 @@ ########################################################################### +# mysql and mysqladmin likes to read /root/.my.cnf. This is usually not +# what I want as many admins e.g. only store a password without a username +# there and so break my scripts. +export HOME=/etc/mysql/ + M="mysql --defaults-extra-file=/etc/mysql/debian.cnf" MA="mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf" tmp=`tempfile`; -- -- Name: SATOH Fumiyasu -- Home: http://www.sfo.jp (in Japanese only) -- Mail: fumiya at net-thrust.com, samba.gr.jp, namazu.org or ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]