LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2004, 10:22 PM   #1
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Rep: Reputation: 15
Removing mysql


I was following a lamps tutorial when I ran into some trouble. So my solution was to remove mysql and start over. I guess I didn't do it right. I did apt-get remove mysql-server and also removed some mysql directories in the /usr/local directory and the /usr/local/src/mysql-4.0.20 folder. I downloaded 3.23.41 which is the one in the tutorial and now it says there already is a mysqld process running. How do I completely get rid of mysql so I can start over?
 
Old 07-07-2004, 10:40 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Try "killall mysqld" and if that doesn't work "killall -9 mysqld". Also do "rpm -qa | grep mysql" (if you installed from RPMs) and make sure that all the 4.0 rpms are uninstalled. BTW MySQL version 3 is getting kind of obsolete, so you may find it worth your while to see if you can't get version 4 working.
 
Old 07-08-2004, 12:09 AM   #3
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
I did the kill thing and started over. I couldn't find one for 4.X. I'm not going to use it for anything major so I'll just stick with 3.23.58 (new tutorial uses this one.) I get down to the make command and it says "No specified target and no make file found. Stop." The ./configure ran but seem sorta short. Did I delete everything I needed to before starting over?

EDIT:I did not use rpm because I do not have a GUI.

Last edited by squirellplaying; 07-08-2004 at 12:20 AM.
 
Old 07-08-2004, 01:02 AM   #4
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
I dont think you need a GUI for rpm installation and uninstallation

Even dependencies can be solved in command prompt

Cheers
Z
 
Old 07-08-2004, 01:10 AM   #5
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Oh ok. Well I didn't use any rpm.
 
Old 07-09-2004, 12:14 AM   #6
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Eh.....erm. Yes?
 
Old 07-13-2004, 02:31 PM   #7
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Update : Still stuck
I found a directory /home/jag3k/webmin-1.150 which had a mysql directory. In this directory there were configuration files and a whole bunch of stuff. But the guy who helped set up my server didn't remember the username or password so I have to reinstall it. He also doesn't remember if he installed mysql so he told me to do apt-get install mysql. Then it said
Quote:
Package mysql has no available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with teh contents of sources.list
E:Package mysql has no installation candidate
Any help here?
 
  


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
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
Removing double entrys from mysql Teukka Programming 1 11-25-2005 07:41 AM
Removing MySQL 3.23 Verbal Kint Linux - Software 2 05-30-2005 05:19 AM
removing mysql issey Linux - Newbie 1 03-27-2005 01:58 AM
removing mysql bobthebat Linux - General 2 09-10-2001 11:42 PM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration