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

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

 



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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux