LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Removing mysql (https://www.linuxquestions.org/questions/linux-newbie-8/removing-mysql-202396/)

squirellplaying 07-07-2004 09:22 PM

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?

btmiller 07-07-2004 09:40 PM

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.

squirellplaying 07-07-2004 11:09 PM

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.

zulfilee 07-08-2004 12:02 AM

I dont think you need a GUI for rpm installation and uninstallation

Even dependencies can be solved in command prompt

Cheers
Z

squirellplaying 07-08-2004 12:10 AM

Oh ok. Well I didn't use any rpm.

squirellplaying 07-08-2004 11:14 PM

Eh.....erm. Yes?

squirellplaying 07-13-2004 01:31 PM

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?


All times are GMT -5. The time now is 10:33 PM.