Reinstalling the database

This commit is contained in:
Bob Mottram 2017-06-05 15:43:39 +01:00
parent d6771dcbaa
commit a19e7aa143
1 changed files with 2 additions and 1 deletions

View File

@ -301,7 +301,8 @@ function database_reinstall {
apt-get -yq purge mariadb* apt-get -yq purge mariadb*
rm -rf /var/lib/mysql rm -rf /var/lib/mysql
rm -rf /etc/mysql rm -rf /etc/mysql
apt-get -yq install mariadb-server sed -i '/mariadb/d' ~/${PROJECT_NAME}-completed.txt
install_mariadb
} }
function install_rethinkdb { function install_rethinkdb {