Script Changes and User creation

This commit is contained in:
2025-05-29 21:42:52 +02:00
parent 7b7b49e088
commit 850356e7a1
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
{"resources":{"Scripts/Script.sql":{"default-datasource":"mariaDB-19718889e27-1755aa8a4159aba3"}}}

0
Scripts/Script.sql Normal file
View File

View File

@ -0,0 +1,8 @@
SELECT User, Host FROM mysql.user WHERE Host <> 'localhost';
drop user 'ghost'@'%';
CREATE USER 'ghost'@'%' IDENTIFIED BY 'ghost';
GRANT ALL PRIVILEGES ON ghost.* TO 'ghost'@'%' WITH GRANT OPTION;