Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-18-2009, 06:17 PM   #1
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
How do I COMPLETELY remove mysql 5.1 server on debian 5.0

I need to completely remove mysql server 5.1, every single trace of it or atleast most of them, because I want to reinstall the server and the installer wizard fails to set a new root password (I assume the old one is saved somewhere). I have already uninstalled the server with --purge mode on apt-get and removed table files.

Any help is appreciated.
Old 11-19-2009, 03:24 AM   #2
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,284

Rep: Reputation: 61
Mysql passwords are stored in the mysql database directory, usually /var/lib/mysql, if you delete this directory then all passwords and users are deleted.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How completer remove mysql-server from debian etch eoldynski Debian 5 03-01-2013 12:27 PM
Completely Uninstall MySQL Server k_oudom Linux - Server 11 10-06-2009 06:07 AM
Remove Mysql server KapilSatav Linux - Networking 5 08-08-2009 09:24 AM
apt-get install mysql-server-5.0 wants to remove kernel? rjcrews Debian 4 10-03-2007 10:59 PM
completely remove mysql and reinstall siphi Linux - Software 4 04-09-2004 06:27 PM

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration