dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 192 forks source link

Connecting to a server with an empty password #488

Open simon-budin-tcy opened 3 years ago

simon-budin-tcy commented 3 years ago

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 ?