mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
6 lines
198 B
SQL
6 lines
198 B
SQL
DROP DATABASE IF EXISTS testdb;
|
|
CREATE DATABASE IF NOT EXISTS testdb;
|
|
CREATE USER IF NOT EXISTS testdb@'%' IDENTIFIED BY 'testdb';
|
|
GRANT ALL PRIVILEGES ON testdb.* TO testdb@'%';
|
|
|
|
FLUSH PRIVILEGES;
|