mysql on debian?

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
skip
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 204
Joined: 27 Oct 2007, 16:00
16
Location: 18th Galaxy

mysql on debian?

Post by skip »

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 :lol:

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
Image Image Image

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

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:

Code: Select all

dpkg -l mysql*
then remove the packages, best start with the "mysql" or "mysql-common" one because it'll automatically remove other mysql-realted ones too:

Code: Select all

apt-get --purge remove packagename
the --purge switch will remove all config files too.

:wink:

User avatar
skip
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 204
Joined: 27 Oct 2007, 16:00
16
Location: 18th Galaxy

Post by skip »

If it wasnt mysql then who it is. hmm.
bad_brain wrote: the --purge switch will remove all config files too.
I didnt know that. Thanks master. :D

oh no. :lol:
Image Image Image

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

oops, had a little junk on the system, eh? :lol:
0 upgraded, 0 newly installed, 195 to remove and 8 not upgraded.
to upgrade the 8 packages that are held back use:

Code: Select all

apt-get dist-upgrade

:wink:

User avatar
skip
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 204
Joined: 27 Oct 2007, 16:00
16
Location: 18th Galaxy

Post by skip »

No, i only put mysql-common and it removed kde and the rest of it. im using twm right now. i think i messed it up again, :lol:
Image Image Image

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

locate /etc/X11/xorg.conf and see if you have a bask up. try restoring the bk up file :wink:

User avatar
skip
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 204
Joined: 27 Oct 2007, 16:00
16
Location: 18th Galaxy

Post by skip »

computathug wrote:locate /etc/X11/xorg.conf and see if you have a bask up. try restoring the bk up file :wink:
too late. im on kde now. on the way to kde4. again. :lol:

Thanks anyway. :D
Image Image Image

Post Reply