/etc/rc.d/init.d/mysqld start

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Nov 27 12:53:27 UTC 2003


Am Do, den 27.11.2003 schrieb Dexter Ang um 12:12:
> just wondering if this is only happening to me. i have set up mysql to
> require a password for "root" upon login. now, whenever i start mysql
> using /etc/rc.d/init.d/mysqld start, i get the message that starting
> mysql timed-out and failed, even though it actually started. checking
> that script, i've determined that it hangs when it tries to ping the
> mysql server (mysqladmin ping), since ping-ing now requires a password.
> my temporary solution was to comment the ping part out (just so i can
> get an OK for mysql's startup. was this how it always was? i've used rh9
> with mysql before, with the exact same setup (root requires psasword no
> matter where logging in from), and this never occurred. is this only
> happening to me? any solution on how to allow "mysqladmin ping" without
> requiring a password?
> 
> dex

It's a fault in the init script and it has a bugzilla entry.

To correct it change the line where it is checked whether the daemon is
alife to:

    mysqladmin -u DUMMY_USER ping

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031127/aabb81aa/attachment-0001.sig>


More information about the fedora-list mailing list