This is a re-creation of tls-settings-update #366

This commit is contained in:
Cyrus
2022-04-14 06:35:49 -04:00
parent 5088bf7107
commit 8b365bed34
5 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,6 @@
UPDATE mysql.user SET Password=PASSWORD('root') WHERE User='root';
DELETE FROM mysql.user WHERE User='';
DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');
DROP DATABASE IF EXISTS test;
DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%';
FLUSH PRIVILEGES