Timeout Error while starting MySQL Daemon at boot , but MySQL daemon starts

Kostas Sfakiotakis kostassf at cha.forthnet.gr
Wed Feb 9 22:47:44 UTC 2005


Greetings ,

I run into a rather strange situation . While boot i get the message

"Timeout error occured trying to start MySQL Daemon" .

Starting MySQL Daemon 		[FAILED]

Before the error get's printed there is a delay of  about 5 seconds .

The thing is that after the machine boots

root at Magellan root]# ps -ax | grep mysqld
  1951 ?        S      0:00 /bin/sh /usr/bin/safe_mysqld 
--defaults-file=/etc/my.                                            cnf
  1975 ?        S      0:00 /usr/libexec/mysqld 
--defaults-file=/etc/my.cnf --bas 
      edir=/usr --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/run/mysqld/mysql 
     d.pid --skip-locking
  1976 ?        S      0:00 /usr/libexec/mysqld 
--defaults-file=/etc/my.cnf --bas 
      edir=/usr --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/run/mysqld/mysql 
     d.pid --skip-locking
  1977 ?        S      0:00 /usr/libexec/mysqld 
--defaults-file=/etc/my.cnf --bas 
      edir=/usr --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/run/mysqld/mysql 
     d.pid --skip-locking
  1978 ?        S      0:00 /usr/libexec/mysqld 
--defaults-file=/etc/my.cnf --bas 
      edir=/usr --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/run/mysqld/mysql 
     d.pid --skip-locking
[root at Magellan root]#


Now , my question is , if  the MySQL Daemon failled to start , then what 
is the meaning of the above .
Furthermore if i try to run mysql ( the client ) i get  :

[root at Magellan root]# mysql -p -u root
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 12 to server version: 3.23.58

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> \help

MySQL commands:
Note that all text commands must be first on line and end with ';'
help    (\h)    Display this help.
?       (\?)    Synonym for `help'.
clear   (\c)    Clear command.
......

So it appears that  MySQL Daemon started  ,


from /var/log/messages :

Feb 10 00:08:57 Magellan mysqld: Starting MySQL:  failed

from /var/log/mysql.log

050210 00:08:47  mysqld started
/usr/libexec/mysqld: ready for connections

Now this says that the MySQL Daemon started , but if the MySQL Daemon 
started then why /var/log/messages
says that it failled and what's the meaning of the timeout error message 
i get during the boot proccess


Kind Regards,
     Kostas




More information about the fedora-list mailing list