Re: MySql starting failed?

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

 



----- Original Message ----- 
From: <hongwei@xxxxxxxxxxxxxxxxxx>
To: <fedora-list@xxxxxxxxxx>
Sent: Thursday, April 15, 2004 12:35 PM
Subject: MySql starting failed?


> Hi,
>
> I just installed Fedora Core 1 linux system.  When I try mysql, I got the
> following error:
>
> # /etc/init.d/mysqld start
> Initializing MySQL database:                               [  OK  ]
> Timeout error occurred trying to start MySQL Daemon.
> Starting MySQL:                                            [FAILED]
>
> I uninstalled mysql-server, then delete folders under /var/lib/mysql/,
> reinstall mysql-server from CD3.  I still got the same error.
>
> When I try to uninstall mysql client, I got:
>
> # rpm -e mysql-3.23.58-4
> error: Failed dependencies:
>         libmysqlclient.so.10 is needed by (installed)
perl-DBD-MySQL-2.9002-1
> # rpm -e perl-DBD-MySQL-2.9002-1
> error: Failed dependencies:
>         perl-DBD-MySQL is needed by (installed) mysql-3.23.58-4
>
> Can somebody give me some help?  Where is the problem? How to solve the
> problem?
>
> Thanks!
>
> Hongwei Li
>

Edit the /etc/rc.d/init.d/mysqld script and add "-u mysqld" to the lines
that issue the "mysqladmin ping" command so they look like this:
        mysqladmin -u mysqld ping

That should do the trick.  ;)


Shockwave



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

  Powered by Linux