How do i completely remove mysql on debian? It takes some space on my system and it is running and im not using it at all so theres no reason for me to keep it. My computer rebooted and so as the other pc at the same time so i check the logs and seen mysql. I'm suspecting mysql for that or maybe not. I dont have any idea so im blaming mysql
and seen this also
2009-02-25 14:52:56 debian anacron[3001] Normal exit (0 jobs run)
2009-02-25 14:52:57 debian /usr/sbin/cron[3034] (CRON) INFO (pidfile fd = 3)
2009-02-25 14:52:57 debian /usr/sbin/cron[3035] (CRON) STARTUP (fork ok)
2009-02-25 14:52:57 debian /usr/sbin/cron[3035] (CRON) INFO (Running @reboot jobs)
/etc/mysql/debian-start[2520] WARNING: mysql.user contains 3 root accounts without password!
Maybe this logs will help
http://code.suck-o.com/148
http://code.suck-o.com/147
mysql on debian?
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
nope, the log entries show don't show any problem, neither with MySQL nor with a rootkit (rkhunter gives a lot of false positives because Debian uses often customized packages so the hashes don't match the official ones anymore).
I don't think MySQL is the reason for the reboots, but if you want to remove it completely first list the mysql packages:
then remove the packages, best start with the "mysql" or "mysql-common" one because it'll automatically remove other mysql-realted ones too:
the --purge switch will remove all config files too.
I don't think MySQL is the reason for the reboots, but if you want to remove it completely first list the mysql packages:
Code: Select all
dpkg -l mysql*
Code: Select all
apt-get --purge remove packagename
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
oops, had a little junk on the system, eh?
to upgrade the 8 packages that are held back use:0 upgraded, 0 newly installed, 195 to remove and 8 not upgraded.
Code: Select all
apt-get dist-upgrade
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact: