mysql startup
Ryan Ayers
rayers.list at rdasys.net
Sun Nov 16 13:58:27 UTC 2003
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 at redhat.com
> 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
More information about the users
mailing list