Red Hat Bugzilla – Bug 120491
MySQL daemon start script error timeout
Last modified: 2013-07-02 23:00:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; it-IT; rv:1.6)
Description of problem:
There is a problem in the mysqld daemon start script after changing
the root password in the "user" table of "mysql" database: the service
doesn't start correctly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Consider a clean new installation of Fedora Core 1 whit MySQL.
2. Change the root password in the "user" table of "mysql" database
(as indicated in the mysql user manual).
3. Restart the mysqld service whit the command: service mysqld start
Actual Results: The service doesn't start correctly: the mysqld
daemon run, but the console message is:
Timeout error occourred trying to start MySQL Daemon
Starting mysqld [FAILED]
Expected Results: The service should start correctly:
Starting mysql [ OK ]
After setting the root password in mysql DB "user" table, the
/usr/bin/mysqladmin ping 2
used in the sysV starting script (/etc/rc.d/init.d/mysqld) generate
this error when executing the daemon start:
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using passord: NO)'
It must be changed whit some like:
/usr/bin/mysqladmin -u some_user ping 2
or just delete it from the script!
This bug is already fixed for FC2.
*** This bug has been marked as a duplicate of 114982 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.