Vous êtes sur la page 1sur 3

18/07/2016

How To Completely Removing MySQL Server in CentOS - idroot

Facebook

Twitter

Google

RSS

idroot
linux tutorial and troubelshooting

LINUX

CENTOS

UBUNTU

TUTORIALS

Home Linux Centos How To Completely Removing MySQL Server in CentOS

How To Completely Removing MySQL Server in CentOS

r00t

April 5, 2014

Bitrix24 Is
100% Free
In this tutorial we will show you how to completely removing of MySQL on your CentOS server. For
those of you who didnt know, MySQL is a relational database management system (RDBMS) that
runs as a server providing multi-user access to a number of databases. The MySQL source code is
freely available because it was originally developed as freeware. MySQL is written in C and C++ and
is compatible with all major operating systems. MySQL can be used for a variety of applications, but is
most commonly found on Web servers.

Bitrix24 - Free
CRM, Tasks, Docs,
HR, Intranet,
Collaboration. Free

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most
importantly, you host your site on your own VPS. The uninstall or removing is quite simple. I will
show you through the step by step removing MySQL on CentOS server. May be its good idea to
backup databases before doing this.

Completely Removing MySQL Server in CentOS


Step 1: Check list the mysql rpm which is installed on server
1 #rpm -qa | grep mysql
2 or
3 #yum list installed | grep mysql

Step 2 : Removing all mysql-related packages (with yum remove)

bitrix24.com/Bitrix24_Is_Free
+

Popular

Recent

How To Install OwnCloud 8 on


Ubuntu 14.04

How To Install Rar/Unrar on


CentOS

How To Completely Removing


MySQL Server in CentOS

How To Disable SELinux on


CentOS 7

How To Install Ntopng on


Ubuntu 14.04

1 #yum remove mysql-client mysql-server mysql-common mysql-devel

http://idroot.net/tutorials/completely-removing-mysql-server-centos/

1/3

18/07/2016

How To Completely Removing MySQL Server in CentOS - idroot

Step 3: Delete the databases folder


1 #rm -rf /var/lib/mysql/
2 #rm -rf /etc/my.cnf

If you dont know how to reinstall mysql database server, check out our tutorial here.
Congratulations! You have successfully removes MySQL. Thanks for using this tutorial for
removingMySQL server on CentOS system. For additional help or useful information, we recommend
you to check the ofcial MySQL web site .

VPS Manage Service Offer


If you dont have time to do all of this stuff, or if this is not your area of expertise, we offer
a service to do VPS Manage Service Offer, starting from $10 (Paypal payment). Please
contact us to get a best deal!

MTNGhana

Featured Post

MTN 4G Switch

How To Install BIND9 Master and Slave


DNS Server on Ubuntu
BIND is a widely used DNS Server.

How To install Joomla on CentOS 6


For those of you who didnt know,Joomla

How To Install Cherokee Web Server on


BetterIsHere
IfYourInternetCouldSpeak,WhatWouldItSayToYou?

Ubuntu 14.04
This how to will help you with

How To Install WordPress on Ubuntu


0

16.04
In this tutorial we will show you

The Tags: mysql

How To Install Quick.Cart on CentOS 7


In this tutorial we will show you

Related How To Completely Removing MySQL Server in CentOS

How To Install
GlassFish on Ubuntu
16.04

How To Install
qBitTorrent on Ubuntu
16.04

How To Install Cockpit


on CentOS 7

How To Install Traq on


Ubuntu 16.04

Leave a Comment

http://idroot.net/tutorials/completely-removing-mysql-server-centos/

2/3

18/07/2016

How To Completely Removing MySQL Server in CentOS - idroot

3 Comments

Sort by Oldest

Add a comment...

Steven Bruce Sinking Spring, Pennsylvania


This guide is no longer accurate and doesn't install. there are no
php5 packages in ubuntu 16.04 only php7 which is compatible but
doing these steps does not bring joomla up.
Like Reply Jul 14, 2016 5:20am

Steven Bruce Sinking Spring, Pennsylvania


So I was able to get it to install, the problem is with the PHP
packages. after you install 'LAMP' you have to install php7.0-xml.
Following the rest of the directions then joomla proceeds to work.
however if you don't install LAMP and do the packages manually
Joomla still doesn't work. So I'm not sure what is missing with the
manual install of php7.0 but it works when LAMP was installed vs
manually installing all the packages.
Like Reply Jul 14, 2016 11:28am

Steven Bruce Sinking Spring, Pennsylvania


Also noticed you need to install php-mcrypt as well through apt. At
the end of Joomlas set up it will tell you.
Like Reply Jul 14, 2016 12:05pm

idr00t
thx...edited
Like Reply Jul 14, 2016 7:25pm
Facebook Comments Plugin

Site Map

Privacy Policy

Contact Us

http://idroot.net/tutorials/completely-removing-mysql-server-centos/

Copyright idroot 2016

3/3

Vous aimerez peut-être aussi