Skip to content

Commit

Permalink
Merge pull request #4438 from esl/cockroachdb-shell
Browse files Browse the repository at this point in the history
Adding support 'open_test_database_shell' for CockroachDB
  • Loading branch information
chrzaszcz authored Dec 17, 2024
2 parents c92b6b6 + 205b247 commit c5538fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/open-test-database-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ case $db in
pgsql)
$DOCKER exec -e PGPASSWORD=password -it mongooseim-pgsql psql -U postgres -d mongooseim -h 127.0.0.1
;;
cockroachdb)
$DOCKER exec -it mongooseim-cockroachdb cockroach sql --certs-dir=/cockroach/certs --host=127.0.0.1 --user=mongooseim
;;
mssql-sqlcmd)
$DOCKER exec -it mongooseim-mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P mongooseim_secret+ESL123 -d mongooseim
;;
Expand Down

0 comments on commit c5538fa

Please sign in to comment.