Merge "Clean /etc/mysql when calling clean.sh"
This commit is contained in:
@@ -23,6 +23,7 @@ function cleanup_database_mysql {
|
|||||||
stop_service $MYSQL
|
stop_service $MYSQL
|
||||||
apt_get purge -y mysql*
|
apt_get purge -y mysql*
|
||||||
sudo rm -rf /var/lib/mysql
|
sudo rm -rf /var/lib/mysql
|
||||||
|
sudo rm -rf /etc/mysql
|
||||||
return
|
return
|
||||||
elif is_fedora; then
|
elif is_fedora; then
|
||||||
if [[ $DISTRO =~ (rhel7) ]]; then
|
if [[ $DISTRO =~ (rhel7) ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user