9 lines
301 B
SQL
Executable file
9 lines
301 B
SQL
Executable file
DROP DATABASE IF EXISTS photoprism;
|
|
CREATE DATABASE IF NOT EXISTS photoprism;
|
|
|
|
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;
|