Skip to content
Snippets Groups Projects
Commit e973bce5 authored by Bob Mottram's avatar Bob Mottram
Browse files

Return of the database password

parent ad5957d7
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,9 @@ if [ -f /usr/bin/${PROJECT_NAME} ]; then ...@@ -44,6 +44,9 @@ if [ -f /usr/bin/${PROJECT_NAME} ]; then
PROJECT_INSTALL_DIR=/usr/bin PROJECT_INSTALL_DIR=/usr/bin
fi fi
# MariaDB password
DATABASE_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
function please_wait { function please_wait {
local str width height length local str width height length
...@@ -230,6 +233,7 @@ function restore_mariadb { ...@@ -230,6 +233,7 @@ function restore_mariadb {
echo $"Ensure MariaDB handles authentication" echo $"Ensure MariaDB handles authentication"
MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb) MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
mariadb_fix_authentication mariadb_fix_authentication
DATABASE_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
fi fi
rm -rf $temp_restore_dir rm -rf $temp_restore_dir
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment