Update init
This commit is contained in:
2
init
2
init
@@ -46,7 +46,7 @@ FLUSH PRIVILEGES;
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Secure installation options (this is just an example; customize as needed)
|
# Secure installation options (this is just an example; customize as needed)
|
||||||
mysql -u root -p$MYSQL_ROOT_PASS <<EOF
|
mysql -u root -p $MYSQL_ROOT_PASS <<EOF
|
||||||
DELETE FROM mysql.user WHERE User='';
|
DELETE FROM mysql.user WHERE User='';
|
||||||
DROP DATABASE IF EXISTS test;
|
DROP DATABASE IF EXISTS test;
|
||||||
DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%';
|
DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%';
|
||||||
|
|||||||
Reference in New Issue
Block a user