Skip to content

Commit ab09d14

Browse files
committed
remove mysql record without password
1 parent dec562b commit ab09d14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/vst-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf
533533
mysql -e "DELETE FROM mysql.user WHERE User=''"
534534
mysql -e "DROP DATABASE test"
535535
mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"
536+
mysql -e "DELETE FROM mysql.user WHERE user='' or password='';"
536537
mysql -e "FLUSH PRIVILEGES"
537538

538539
# Bind configuration

0 commit comments

Comments
 (0)