Skip to content

Commit c34d256

Browse files
committed
Fix wrong delete command, adjust to use authentication_string.
1 parent 1372663 commit c34d256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ if [ "$mysql" = 'yes' ]; then
10901090
mysql -e "DELETE FROM mysql.user WHERE User=''"
10911091
mysql -e "DROP DATABASE test" > /dev/null 2>&1
10921092
mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"
1093-
mysql -e "DELETE FROM mysql.user WHERE user='' OR password='';"
1093+
mysql -e "DELETE FROM mysql.user WHERE user='' OR authentication_string='';"
10941094

10951095
# Configuring phpMyAdmin
10961096
if [ "$apache" = 'yes' ]; then

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ if [ "$mysql" = 'yes' ]; then
10701070
mysql -e "DELETE FROM mysql.user WHERE User=''"
10711071
mysql -e "DROP DATABASE test" > /dev/null 2>&1
10721072
mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"
1073-
mysql -e "DELETE FROM mysql.user WHERE user='' OR password='';"
1073+
mysql -e "DELETE FROM mysql.user WHERE user='' OR authentication_string='';"
10741074

10751075
# Configuring phpMyAdmin
10761076
if [ "$apache" = 'yes' ]; then

0 commit comments

Comments
 (0)