File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ All notable changes to this project will be documented in this file.
5656- Fixed formatting of backup exclusions textbox.
5757- Fixed MultiPHP upgrade script to update all web templates.
5858- Fixed report issue link in installer scripts.
59+ - Fixed database user authentification on backup restore.
5960
6061## [ 1.0.6] - 2019-09-24 - Hotfix
6162### Bugfixes
Original file line number Diff line number Diff line change @@ -631,8 +631,8 @@ rebuild_mysql_database() {
631631 mysql_query " CREATE USER \` $DBUSER \` @localhost" > /dev/null
632632 else
633633 # mariadb = 10
634- mysql_query " CREATE USER IF NOT EXISTS \` $DBUSER \` " > /dev/null
635- mysql_query " CREATE USER IF NOT EXISTS \` $DBUSER \` @localhost" > /dev/null
634+ mysql_query " CREATE USER IF NOT EXISTS \` $DBUSER \` IDENTIFIED BY PASSWORD ' $MD5 ' " > /dev/null
635+ mysql_query " CREATE USER IF NOT EXISTS \` $DBUSER \` @localhost IDENTIFIED BY PASSWORD ' $MD5 ' " > /dev/null
636636 fi
637637 # mariadb any version
638638 query=" UPDATE mysql.user SET Password='$MD5 ' WHERE User='$DBUSER '"
You can’t perform that action at this time.
0 commit comments