Re: mysql startup

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

 



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




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

  Powered by Linux