How to uninstall MySQL Server in Ubuntu 14.04

How to uninstall MySQL Server in Ubuntu 14.04MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). We will discuss about How to uninstall MySQL Server in Ubuntu 14.04

If you want to remove the MySQL Server in Ubuntu server because of something wrong done by you then this tutorial will help you to resolve the issue. This post will explain all the things which require for uninstall MySQL Server from Ubuntu server. Lets start how to uninstall MySQL server.

Important Files and Directory of MySQL :

Configuration File : /etc/mysql/my.cnf
Data Directory : /var/lib/mysql
Base Directory : /usr/share/mysql
Log File : /var/log/mysql/error.log

Uninstallation application

  1. mysql-client– The latest version of MySQL database client.
  2. mysql-server– The latest version of MySQL database server.
  3. mysql-common– MySQL database common files.
:~$sudo apt-get --purge remove mysql-client mysql-server mysql-common

:~$sudo apt-get autoremove

Understanding apt-get option

  1. remove : Uninstall packages.
  2. –purge : Remove given packages and config files.
  3. autoremove : Force to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed.

Enjoy 🙂

Bookmark the permalink.

6 Responses to How to uninstall MySQL Server in Ubuntu 14.04

  1. Pingback: generic ventolin

  2. Pingback: ciprofloxacin order

  3. Pingback: naltrexone 50 mg

  4. Pingback: viagra side effects

  5. Pingback: generic cialis 20mg

  6. Pingback: cialis generic online usa pharmacy