photoprism/scripts/sql/reset-acceptance.sql

6 lines
222 B
SQL
Executable file

DROP DATABASE IF EXISTS acceptance;
CREATE DATABASE IF NOT EXISTS acceptance;
CREATE USER IF NOT EXISTS acceptance@'%' IDENTIFIED BY 'acceptance';
GRANT ALL PRIVILEGES ON acceptance.* TO acceptance@'%';
FLUSH PRIVILEGES;