java-tutorials/persistence-modules/hibernate-libraries/create-database.sh

8 lines
210 B
Bash
Executable File

#!/bin/bash
docker run \
-p 53306:3306 \
--name=mysql57-hibernate-types \
-e MYSQL_ALLOW_EMPTY_PASSWORD=true \
-v "${PWD}/docker/docker-entrypoint-initdb.d":/docker-entrypoint-initdb.d \
-d mysql:5.7