Update init

This commit is contained in:
Dai
2025-10-09 19:16:13 -07:00
parent 578d6a1a7f
commit 625d97a93a

2
init
View File

@@ -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\\_%';