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

Dexter Ang thepoch at mydestiny.net
Sun Nov 30 15:20:30 UTC 2003


On Thu, 2003-11-27 at 20:53, Alexander Dalloz wrote:
> 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
> 
hey thanks! this works great. i guess i really should spend more time
searching through bugzilla first. =D

dex





More information about the fedora-list mailing list