Another attempt

This commit is contained in:
WilliamMiceli
2019-11-22 23:17:37 -05:00
parent b32265f397
commit 5bb6a27efa
2 changed files with 6 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
UPDATE mysql.user SET authentication_string=PASSWORD('Password1234') WHERE User='root';
DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');
DELETE FROM mysql.user WHERE User='';
DELETE FROM mysql.db WHERE Db='test' OR Db='test_%';
FLUSH PRIVILEGES;