mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
remove mysql record without password
This commit is contained in:
parent
dec562b8a1
commit
ab09d1459d
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf
|
|||
mysql -e "DELETE FROM mysql.user WHERE User=''"
|
||||
mysql -e "DROP DATABASE test"
|
||||
mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"
|
||||
mysql -e "DELETE FROM mysql.user WHERE user='' or password='';"
|
||||
mysql -e "FLUSH PRIVILEGES"
|
||||
|
||||
# Bind configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue