Will ‘yum remove mysql-server’ remove the databases as well?
listed in answer
ANSWER:
No. The database files are not under control of the package. The directory is, but the directory won’t be removed if there is anything in it.
$ rpm -qlv mysql-server
...
drwxr-xr-x 2 mysql mysql 0 Mar 29 00:39 /var/lib/mysql
by Ignacio Vazquez-Abrams from http://serverfault.com/questions/382103

New Comments