Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit 185c814

Browse files
brightbyteaddshore
authored andcommitted
Add a script for conveniently accessing databases
1 parent 11b3b39 commit 185c814

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: mysql

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -eu
3+
4+
echo "Running MySQL client"
5+
6+
host=$1
7+
shift
8+
9+
docker-compose exec "$host" mysql --user=root --password=toor "$@"

0 commit comments

Comments
 (0)