[nSLUG] common issue with mysql 4.1 init.d script

Ben Armstrong synrg at sanctuary.nslug.ns.ca
Wed Jun 15 12:52:08 ADT 2005

On Tue, 2005-06-14 at 23:27 -0300, Donald Teed wrote:
> The start up failure is stemming from this line in mysql init script:
>     ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? ))

That's odd.  My /etc/init.d/mysql (Debian sid) has:

MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"

The debian.cnf file contains:

# Automatically generated for Debian scripts. DO NOT TOUCH!
host     = localhost
user     = debian-sys-maint
password = somerandompassword

Won't that make the above ping command use debian-sys-maint with the
specified password instead of root?  Or is your init script or
debian.cnf file different?



More information about the nSLUG mailing list