MySql starting failed?

duncan brown duncanbrown at linuxadvocate.net
Thu Apr 15 19:05:55 UTC 2004


download my mysqld script and sdiff it against yours.

personally, i use this:
 if [ -n "`/usr/bin/mysqladmin ping -u $RANDOM 2> /dev/null`" ]; then

always worked for me.

-d


> 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 at morpheus.wustl.edu 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===========
>
>
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


-+(duncan brown
-+(duncanbrown at linuxadvocate.net
-+(http://www.linuxadvocate.net

()  ascii ribbon campaign - against html e-mail
/\                        - against microsoft attachments

Blessed is the man who, having nothing to say, abstains from giving wordy
evidence of the fact.
                -- George Eliot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysqld
Type: application/octet-stream
Size: 2351 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040415/87eca319/attachment-0002.obj 


More information about the users mailing list