MastodonStartpage/docker/files/create_user.sql
2020-05-11 23:32:01 +02:00

4 行
233 B
SQL

DELETE FROM mysql.user WHERE User='' OR USER='mysql';
CREATE USER 'MastoStartAdmin'@'%' IDENTIFIED BY 'MastoStartAdmin';
GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES ON `mastostart`.* TO 'MastoStartAdmin'@'%';
FLUSH PRIVILEGES;