BirdNET-stream/docker/database/init/01-databases.sql

7 lines
247 B
MySQL
Raw Normal View History

2022-08-23 06:06:18 +02:00
CREATE DATABASE IF NOT EXISTS `birdnet_observations`;
CREATE DATABASE IF NOT EXISTS `birdnet_default`;
GRANT ALL PRIVILEGES ON birdnet_observations.* TO 'birdnet'@'%';
GRANT ALL PRIVILEGES ON birdnet_default.* TO 'birdnet'@'%';
FLUSH PRIVILEGES;