From 205b2475c1bd15eca00b25115f34378245aa4fe2 Mon Sep 17 00:00:00 2001 From: Janusz Jakubiec Date: Mon, 16 Dec 2024 09:43:29 +0100 Subject: [PATCH] Adding support 'open_test_database_shell' for CockroachDB --- tools/open-test-database-shell.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/open-test-database-shell.sh b/tools/open-test-database-shell.sh index 60695121418..819ae156cab 100755 --- a/tools/open-test-database-shell.sh +++ b/tools/open-test-database-shell.sh @@ -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 ;;