archetype-resources..scripts.create-test-databases.sh Maven / Gradle / Ivy
#!/bin/bash
#
# Creates the test databases.
#
# This script requires a MySQL service, with the default super user, where the test
# databases will be created.
set -o nounset
set -e
# MySQL tables
mysql -e "create database IF NOT EXISTS ${artifactId};" -uroot
exit 0
© 2015 - 2024 Weber Informatics LLC | Privacy Policy