dbcli / dbcli/mssql-cli

Connecting to a server with an empty password

Open
#488 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
1.4k
Forks
191
PR merge metrics
No merged PRs in 30d

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

No contributing guide indexed for this repository

Research direction

Start by locating the command-line handling for `-P` and the `MSSQL_CLI_PASSWORD` environment variable, then trace how an empty value reaches password prompting. Confirm the expected behavior against the issue: an explicitly empty password should connect without prompting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.