mysql startup

Gordon Messmer yinyang at eburg.com
Sat Nov 15 22:07:30 UTC 2003


Doug Currey wrote:
> 
> Create a mysql user.  Give it a passwd but no permissoins.
> 
> edit the /etc/rc.d/init.d/mysqld file
> 
> change the line
> if !([ -n "`/usr/bin/mysqladmin  ping 2> /dev/null`" ]); the
> 
> to
> if !([ -n "`/usr/bin/mysqladmin -u mysqluser -puserpass ping 2>
> /dev/null`" ]); then
> 
> This should alllow the mysqluser to ping

Or... *don't* add a user, just change the line to:

if !([ -n "`/usr/bin/mysqladmin -u UNKNOWN_USER ping 2> /dev/null`" ]); then





More information about the fedora-list mailing list