2025-02-18 16:58:10 +01:00

3 lines
168 B
Bash
Executable File

#!/bin/bash
mariadb -u root -p$MARIADB_ROOT_PASSWORD < /envole/$1.sql
mariadb -u root -p$MARIADB_ROOT_PASSWORD -e "GRANT ALL PRIVILEGES ON $1.* TO '$MARIADB_USER'@'%';"