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?
|
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.
|
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. |
I dont think you need a GUI for rpm installation and uninstallation
Even dependencies can be solved in command prompt Cheers Z |
Oh ok. Well I didn't use any rpm.
|
Eh.....erm. Yes?
|
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:
|
All times are GMT -5. The time now is 10:33 PM. |