Welcome to the most active Linux Forum on the web.
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, 05: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, 02:24 AM   #2
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,285

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 11:27 AM
Completely Uninstall MySQL Server k_oudom Linux - Server 11 10-06-2009 05:07 AM
Remove Mysql server KapilSatav Linux - Networking 5 08-08-2009 08:24 AM
apt-get install mysql-server-5.0 wants to remove kernel? rjcrews Debian 4 10-03-2007 09:59 PM
completely remove mysql and reinstall siphi Linux - Software 4 04-09-2004 05:27 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:19 AM.

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