PDA

View Full Version : [SOLVED] Should I remove mySql?


UbuKunubi
August 18th, 2009, 07:10 PM
Hello,
I've been running my home server for a while and as part of the learning curve it seems somewhere along the way MySql was installed.
I don't use a data base, nor PHP (although I do use mod-python).
How do I remove MySql from Apache2? The main reason I ask is that I am seeing a lot of entries in the log files generated by fail2ban, so it seems to be a target.

I've nothing against MySql, but i simply dont use it and it appears quite often in the top ranks when 'top' is running via ssh.

Any help gratefully received,
Ubu

Bachstelze
August 18th, 2009, 07:49 PM
Use

sudo dpkg -l | grep mysql

to list the MySQL related packages you have installed, and

sudo apt-get remove --purge package_name

to uninstall them.

UbuKunubi
August 18th, 2009, 08:43 PM
Use

sudo dpkg -l | grep mysql

to list the MySQL related packages you have installed, and

sudo apt-get remove --purge package_name

to uninstall them.

Many thanks!
followed your template and it worked nicely!

All the best,
Ubu