Skip to content

Commit

Permalink
crazy-pills
Browse files Browse the repository at this point in the history
  • Loading branch information
ieaves committed Oct 17, 2024
1 parent 8ef553c commit 6fc1816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grai-integrations/source-mssql/data/init-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ SQL_CMD_DIR=${SQL_CMD_DIR-"/opt/mssql-tools18/bin"}
export PATH=$PATH:$SQL_CMD_DIR
AUTH_ARG=${AUTH_ARG:-"-No"}
SQL_CMD="sqlcmd -S $SERVER -U sa -P $MSSQL_SA_PASSWORD $AUTH_ARG"

echo $SQL_CMD
SQL_CMD="sqlcmd -S $SERVER -U sa -P $MSSQL_SA_PASSWORD"
$SQL_CMD -Q 'SELECT 1' -b -o /dev/null
DBSTATUS=$?
if [[ $DBSTATUS -ne 0 ]]; then
Expand Down

0 comments on commit 6fc1816

Please sign in to comment.