Results 1 to 1 of 1
-
4th Apr 2014, 01:41 PM #1
HowTo: Uninstall MySQL Server in Ubuntu Linux
Typically following Mysql packages are installed on the Debian or Ubuntu Linux systems:
Tutorial details Difficulty Easy (rss) Root privileges Yes Requirements Ubuntu/Debian Estimated completion time 2m
- mysql-client - The latest version of MySQL database client.
- mysql-server - The latest version of MySQL database server.
- mysql-common - MySQL database common files.
How do I uninstall Mysql server?
Just use the apt-get command as follows remove both MySQL server and client in Ubuntu Linux:
sudo apt-get --purge remove mysql-client mysql-server mysql-common
sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-31-virtual linux-headers-3.2.0-31
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
libdbd-mysql-perl* libmysqlclient18* mysql-client* mysql-client-5.5* mysql-common* mysql-server*
mysql-server-5.5*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 67.5 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 105097 files and directories currently installed.)
Removing mysql-server ...
Removing mysql-server-5.5 ...
mysql stop/waiting
Purging configuration files for mysql-server-5.5 ...
Removing mysql-client ...
Removing mysql-client-5.5 ...
Removing libdbd-mysql-perl ...
Removing libmysqlclient18 ...
Purging configuration files for libmysqlclient18 ...
Removing mysql-common ...
Purging configuration files for mysql-common ...
dpkg: warning: while removing mysql-common, directory '/etc/mysql' not empty so not removed.
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
$ sudo rm -rf /etc/mysql/- --purge : Remove given packages and config files.
- remove : Uninstall packages.
- autoremove : Force to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed.
GarryField Reviewed by GarryField on . HowTo: Uninstall MySQL Server in Ubuntu Linux Typically following Mysql packages are installed on the Debian or Ubuntu Linux systems: Tutorial details Difficulty Easy (rss) Rating: 5Follow Board Rules & Thread Rules.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need MySQL/php & Linux Server Administration Books
By Freddy63 in forum Webmaster DiscussionReplies: 0Last Post: 28th Jan 2012, 03:21 PM -
Installing Apache, MySQL and PHP using Yum on a Linux Server
By JacksonWeb in forum Tutorials and GuidesReplies: 6Last Post: 11th Feb 2011, 06:43 AM -
Shared server incl Linux (Ubuntu)
By psy in forum Completed TransactionsReplies: 0Last Post: 19th May 2010, 05:28 AM -
HOWTO Install cURL in Linux
By BlaZe in forum Technical and Security TutorialsReplies: 1Last Post: 15th Nov 2009, 04:03 PM -
Ubuntu Desktop edition AMD64 In Linux Server
By Zero - HosterBin in forum Technical Help Desk SupportReplies: 2Last Post: 21st Sep 2009, 07:13 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...