java-tutorials/persistence-modules/hibernate-libraries/docker/docker-entrypoint-initdb.d/init-db.sql

4 lines
134 B
SQL

CREATE DATABASE hibernate_types;
use hibernate_types;
GRANT ALL PRIVILEGES ON hibernate_types.* TO 'mysql'@'%' IDENTIFIED BY 'admin';