Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-10-2006, 11:48 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
Missing MySQL library...?

Recently I installed Xampp for my server needs of http, php, mysql, etc. and everything worked just fine. I was able to call the "mysql" command, connect and login to the SQL server and everything worked fine.

Now, I recently used yum-entender and updated everything that was in the list. I'm using FC5. After updating, it seems that MySQL doesn't work anymore. I get this error:

[root@localhost bin]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (2)
It used to work just fine though. Is there anyway I can remove FC5's MySQL, HTTPd, and other server software? All I want to use is Xampp without issues.
Old 04-11-2006, 12:41 AM   #2
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
perhaps try finding out what the issue is
there should be a .err file in /var/lib/mysql
open that up, and it should tell you what's happening (prolly two mysql's running)

to remove mysql from fc5
try yum remove mysql
but it'll prolly complain of dependencies

so just try yum remove httpd php mysql
and then when it complains of dependencies, remove those dependencies as well, as long as you're sure you don't need them


ps -ef | grep 'mysql'
if something comes back, then there are mysql processes that shouldn't be running, as far as you're concerned (because mysql isn't working properly)
so then just kill those processes, and try starting mysql again, or removing, then re-installing


Last edited by dtra; 04-11-2006 at 12:45 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
stdio.h library missing minike Slackware - Installation 7 04-24-2005 06:42 PM
Missing Library twantrd Solaris / OpenSolaris 4 12-21-2004 01:16 PM
missing library kholdstayr Slackware 4 12-20-2003 05:56 PM
theres a missing library! e1000 Linux - Software 2 10-22-2003 02:33 AM
Help with missing mystery library. Zaulhghev Linux - General 5 02-20-2002 09:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration