2020-06-27 14:15:25 +02:00
|
|
|
DROP DATABASE IF EXISTS photoprism;
|
|
|
|
CREATE DATABASE IF NOT EXISTS photoprism;
|
2022-01-06 11:31:37 +01:00
|
|
|
|
|
|
|
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;
|