Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > Trying to deinstall MySQL in Ubuntu 9.04

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-02-2009   #1 (permalink)
Just Joined!
 
Join Date: May 2009
Location: Deep in the heart of Texas
Posts: 40
Trying to deinstall MySQL in Ubuntu 9.04

I'm trying to deinstall MySQL so that I can start over and do a clean install.

I have done sudo apt-get remove to delete the packages, but they don't appear to be completely gone. After doing that, I still seem to have some components left. This is what I see now:

Code:
dpkg --get-selections |grep mysql

libmysqlclient16				deinstall
mysql-client-5.1				deinstall
mysql-server-5.1				deinstall
Can someone explain what it means when "deinstall" is displayed, and how I can completely and cleanly get rid of the MySQL components?
mrs1179 is offline  


Reply With Quote
Old 06-02-2009   #2 (permalink)
Just Joined!
 
Join Date: May 2009
Posts: 14
Quote:
Originally Posted by mrs1179 View Post
I'm trying to deinstall MySQL so that I can start over and do a clean install.

I have done sudo apt-get remove to delete the packages, but they don't appear to be completely gone. After doing that, I still seem to have some components left. This is what I see now:

Code:
dpkg --get-selections |grep mysql

libmysqlclient16				deinstall
mysql-client-5.1				deinstall
mysql-server-5.1				deinstall
Can someone explain what it means when "deinstall" is displayed, and how I can completely and cleanly get rid of the MySQL components?
Just run on terminal:

Code:
sudo apt-get install mysql-server
Mohammad_Reza is offline   Reply With Quote
Old 06-02-2009   #3 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
You can use the purge option to remove the config files too. Either choose the purge option in Synaptic when uninstalling or use
Code:
sudo apt-get --purge remove mysql-server
Of course you'll have to run this with the package installed.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 06-02-2009   #4 (permalink)
Just Joined!
 
Join Date: Jan 2009
Posts: 46
open synapic manager in system>>administration>>synaptic manager there select mysqk-server, then right click and remove or

open the terminal

sudo apt-get purge package-name

for more info follow My Linux: Package management - Debian and ubuntu
sahabcse is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:30 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2