Merge "clean mysql better"

This commit is contained in:
Jenkins 2015-01-17 22:47:58 +00:00 committed by Gerrit Code Review
commit 62002dd88b

View File

@ -33,7 +33,7 @@ function cleanup_database_mysql {
if is_ubuntu; then if is_ubuntu; then
# Get ruthless with mysql # Get ruthless with mysql
stop_service $MYSQL stop_service $MYSQL
uninstall_package mysql-common mariadb-common apt_get purge -y mysql* mariadb*
sudo rm -rf /var/lib/mysql sudo rm -rf /var/lib/mysql
sudo rm -rf /etc/mysql sudo rm -rf /etc/mysql
return return