updated mariadb.sh

pull/2/head
Hari Sekhon 4 years ago
parent 203d686a7d
commit 15248f3f4d

@ -63,6 +63,8 @@ or programmatically on the command line (see DevOps Python tools repo):
dockerhub_show_tags.py mariadb
Options to the 'mysql' shell command can be given using the \$MYSQL_OPTS environment variable
Automatically creates shared bind mount points from host to container for convenience:
$shell_description
"
@ -133,7 +135,7 @@ if [ -z "${DOCKER_NON_INTERACTIVE:-}" ]; then
docker_exec_opts+=" -t"
fi
eval docker exec "$docker_exec_opts" "$container_name" mysql -u root -p"$password"
eval docker exec "$docker_exec_opts" "$container_name" mysql -u root -p"$password" "${MYSQL_OPTS:-}"
untrap

Loading…
Cancel
Save