LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-09-2004, 12:41 PM   #1
siphi
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Ubuntu Breezy, Kubuntu Breezy
Posts: 78

Rep: Reputation: 15
completely remove mysql and reinstall


Hi, I've been having loads of trouble with mysql and I now want to completely remove all traces of it from my system . Redhat9 with apache2 and php 4 is what i have... I want to get rid of mysql server client and tables and user details.. Can anyone help? thanks
 
Old 04-09-2004, 01:04 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well, first I'd find out what mysql rpm's I have installed:

rpm -qa | grep mysql

Then remove the whatever packages it says you have installed related to mysql by doing:

rpm -e <package name>

Then just to make sure run:

updatedb
locate mysql | more

I'm not sure if deleting the rpm's leaves the mysql databases so check to make sure that /var/lib/mysql has been deleted. That is where all the mysql databases are created by default.
 
Old 04-09-2004, 01:37 PM   #3
siphi
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Ubuntu Breezy, Kubuntu Breezy
Posts: 78

Original Poster
Rep: Reputation: 15
Ok I've done all that and it's looking good. All that i have left is my php manual (the mysql part is showing up) and a file called "/var/run/mysqld"... Should i delete the mysqld???
 
Old 04-09-2004, 03:15 PM   #4
siphi
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Ubuntu Breezy, Kubuntu Breezy
Posts: 78

Original Poster
Rep: Reputation: 15
Ok I have reinstalled 'MySQL-server-4.0.18-0' & 'MySQL-client-4.0.18-0' . they are both working correctly and I also have httpd (apache2) installed aswell. Php (4) seems to be working correctly but in my phpinfo.php page MySQL is not mentioned anywhere and doesn't seem to be working with my login process on my website. Any ideas on what might be wrong?
 
Old 04-09-2004, 05:27 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I think you need to install the php-mysql package or mysql-php package. I forget what its called.
 
  


Reply


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
Completely Remove xfce4 tux0r Linux - Software 2 09-11-2011 02:16 AM
How to remove software completely ? naihe2010 Linux - Software 5 10-17-2005 12:01 AM
Completely Reinstall X Parksy Linux - General 5 09-14-2004 01:27 AM
completely remove a program edigital Linux - Software 3 02-21-2004 02:43 PM
Remove fetchmailconf completely Buttercups Linux - Software 0 01-28-2003 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:37 PM.

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