updated initial run script to not fail on create user

This commit is contained in:
torsten 2026-04-04 07:22:30 +02:00
parent 9b48a1a73f
commit 3d07cbfbbc

View file

@ -1,7 +1,6 @@
# create databases
CREATE DATABASE IF NOT EXISTS `local_laravel`;
CREATE DATABASE IF NOT EXISTS `pf2_db`;
# create local_developer user and grant rights
CREATE USER 'local_developer'@'db' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON *.* TO 'local_developer'@'%';
# grant rights to pf2_user (created by MariaDB entrypoint)
GRANT ALL PRIVILEGES ON `pf2_db`.* TO 'pf2_user'@'%';