microsoft / microsoft/sql-server-samples

SQLCMD for Mac - bash: sqlcmd: command not found

Open
#266 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Description

I am following the installation instruction on how Create Python apps using SQL Server on macOS.

On Step 1.3 Install the ODBC Driver and SQL Command Line Utility for SQL Server

After installing SQLCMD, you can connect to SQL Server using the following command:

$ sqlcmd -S 127.0.0.1 -U sa -P your_password

I get this error:

bash: sqlcmd: command not found

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the macOS installation instructions referenced in Step 1.3, especially the ODBC Driver and SQL Command Line Utility section, and reproduce the shown sqlcmd command. Done means the instructions let a macOS user invoke sqlcmd successfully or clearly document the required setup when it is not on PATH.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, sql
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.