dbcli/mssql-cli

Connecting to a server with an empty password

Open

#488 opened on Sep 2, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (193 forks)auto 404
good first issue

Repository metrics

Stars
 (1,413 stars)
PR merge metrics
 (PR metrics pending)

Description

My local server has a user with an empty password. To connect to the server, passing -P "" does not work (i.e. the client prompts for Password anyway). Also setting the environment variable MSSQL_CLI_PASSWORD to "" has the same effect.

Is there a way to pass an empty password without being prompted ?

Contributor guide