Bugfix: Properly remove sql user in remove.sh
This commit is contained in:
parent
5a1bf22e0b
commit
d43a517d88
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ systemctl reload apache2
|
||||||
# Delete the MySQL database next.
|
# Delete the MySQL database next.
|
||||||
log_info " => Deleting MySQL database '$MYSQL_DATABASE' and user '$MYSQL_USER'. "
|
log_info " => Deleting MySQL database '$MYSQL_DATABASE' and user '$MYSQL_USER'. "
|
||||||
mysql -e "DROP DATABASE IF EXISTS \`${MYSQL_DATABASE}\`;" || true
|
mysql -e "DROP DATABASE IF EXISTS \`${MYSQL_DATABASE}\`;" || true
|
||||||
mysql -e "DROP USER IF EXISTS \`${DBNAME}\`@localhost;" || true
|
mysql -e "DROP USER IF EXISTS \`${MYSQL_USER}\`@localhost;" || true
|
||||||
|
|
||||||
# Clear the GraphDB repository.
|
# Clear the GraphDB repository.
|
||||||
log_info " => Deleting GraphDB repository '$GRAPHDB_REPO'"
|
log_info " => Deleting GraphDB repository '$GRAPHDB_REPO'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue