mysql-server
Alexander Dalloz
ad+lists at uni-x.org
Fri Mar 25 21:33:28 UTC 2005
Am Fr, den 25.03.2005 schrieb Steve Traylen um 22:24:
> I noted this with the MySQL upgrade and I did add a bug report to
> Redhat but I can not find it anywhere in bugzilla there now....
>
> In the init.d script there is a line that looks something like
>
> ping="mysqladmin ........"
>
> if you add a '-t 2' with in this command then you should hopefully
> have more success starting up MySQL.
>
> Steve
That is not really a fix. The issue is, that the init script does not
take care for the case, that the MySQL root user has a password set
(which is highly recommended) and the anonymous user removed.
Unfortunately the RPM install does not care for a changed init script -
changed for fixing the issue - and exchanges it with the wrong one
again.
In the /etc/init.d/mysqld init script there are 2 lines with a
"mysqladmin ping ..." command. Change it to be
if [ -n "`/usr/bin/mysqladmin ping -u DUMMY_USER 2> /dev/null`" ]; then
Alexander
--
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp
Serendipity 22:30:16 up 8 days, 20:26, load average: 0.61, 0.66, 0.57
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-legacy-list/attachments/20050325/be592dd1/attachment.sig>
More information about the fedora-legacy-list
mailing list