Re: mysql startup

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

 



On Sat, 2003-11-15 at 16:07, Gordon Messmer wrote:
> 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
> 
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> http://www.redhat.com/mailman/listinfo/fedora-list
> 

This had already been brought up on the mailing list before.

perl -pi -e 's/mysqladmin ping/mysqladmin -u dummyuser ping/g'
/etc/init.d/mysqld

This will be in the next update of mysql.

Ryan





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

  Powered by Linux