Skip to content

Instantly share code, notes, and snippets.

@Raincal
Created August 6, 2017 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raincal/8415730ab01b92eb57a97aa2f114a2d9 to your computer and use it in GitHub Desktop.
Save Raincal/8415730ab01b92eb57a97aa2f114a2d9 to your computer and use it in GitHub Desktop.
docker exec -it mariadb sh -c 'exec mysql -h "$MYSQL_PORT_3306_TCP_ADDR" -P "$MYSQL_PORT_3306_TCP_PORT" -uroot -p "$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment