SQL server CMD not found


(quizhead) #1

Tried to do the following on nethserver 7

Connect to SQL Server with sqlcmd

On your Linux box, open a command terminal. Run sqlcmd with parameters for your SQL Server name (-S), the user name (-U), and the password (-P).

The following command connects to the local SQL Server instance (localhost) on Linux:
sqlcmd -S localhost -U SA -P ‘<My-PassWord-From-Setup>’

The system says that sqlcmd command not found.
help please.
Thank you.


(Markus Neuberger) #2

Hi @quizhead,

I think you need to install it, there is a howto by @fausp about installing M$SQL on NethServer which includes sqlcmd:

Sqlcmd only: