Package: mysql-server
Version: 4.0.23-3
Severity: grave

If /root/.my.cnf (~root/.my.cnf) exists and contains some
client configuration(s), the following scripts are failed
because MySQL clients connect to another (not local) server
or cannot connect to server:
   /etc/init.d/mysql
   /etc/cron.daily/mysql-server
   /etc/logrotate.d/mysql-server

For example:
  # cat /root/.my.cnf
  [client]
  host = another-remote-host-not-localhost
  user = a-user
  password = password-for-user-on-another-remote-host

Use --defaults-file instead of --defaults-extra-file for client
commands in these scrpts. For example:

--- /etc/cron.daily/mysql-server.dist        2004-09-12 07:49:32.000000000 +0900
+++ /etc/cron.daily/mysql-server    2005-02-14 13:40:32.000000000 +0900
@@ -11,8 +11,8 @@

 ###########################################################################

-M="mysql --defaults-extra-file=/etc/mysql/debian.cnf"
-MA="mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf"
+M="mysql --defaults-file=/etc/mysql/debian.cnf"
+MA="mysqladmin --defaults-file=/etc/mysql/debian.cnf"
 tmp=`tempfile`;

 my_exit () {

-- 
-- 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]

Reply via email to