Re: MySql starting failed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the help!  However, I tried 2 suggestions:

if !([ -n "`/usr/bin/mysqladmin -u mysqld ping 2> /dev/null`" ]); then
with
if [ -n "`/usr/bin/mysqladmin  -u mysqld ping 2> /dev/null`" ]; then

and 

if !([ -n "`/usr/bin/mysqladmin -u UNKNOWN_USER ping 2> /dev/null`" ]); then
with
if [ -n "`/usr/bin/mysqladmin -u UNKNOWN_USER ping 2> /dev/null`" ]; then

or even just one of the above lines in /etc/rc.d/init.d/mysqld, then
restart mysqld.  But I still got the same error.  Is any other thing I
need to "clean"?

Thanks!

Hongwei

==============Original message text===============
On Thu, 15 Apr 2004 12:17:41 pm CDT Clint Harshaw wrote:

hongwei@xxxxxxxxxxxxxxxxxx wrote:
> Timeout error occurred trying to start MySQL Daemon.
> Starting MySQL:                                            [FAILED]

Here is one way to resolve the problem:

1. open /etc/rc.d/init.d/mysqld as a root user using your favorite editor.

2. find the line that looks like:
if !([ -n "`/usr/bin/mysqladmin  ping 2> /dev/null`" ]); then

3. change that line so that it looks like:
if !([ -n "`/usr/bin/mysqladmin -u UNKNOWN_USER ping 2> /dev/null`" ]); then

Note that because of line wrap in a mail reader, the above may appear as 
though it is two lines, but it's really one line in the file (though I 
don't think it would make a difference).

Hope this helps,
Clint
===========End of original message text===========






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux