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@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=========== > > > > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -+(duncan brown -+(duncanbrown@xxxxxxxxxxxxxxxxx -+(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
Attachment:
mysqld
Description: Binary data