Re: mysql-server

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

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux