fix mysql clean on ubuntu
Closes-Bug: 1409902 Change-Id: I72900eb2c7f3c6f66d829b10e9bb73b6d186da98
This commit is contained in:
parent
3eaa0781e3
commit
d97d2cb017
@ -23,7 +23,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-server mariadb-server
|
uninstall_package mysql-common mariadb-common
|
||||||
sudo rm -rf /var/lib/mysql
|
sudo rm -rf /var/lib/mysql
|
||||||
sudo rm -rf /etc/mysql
|
sudo rm -rf /etc/mysql
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user