Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

INSTALLING sqlcmd for using Node.js problem

$
0
0

hello, im following this instruction from microsoft Create Node.js with sql server

step 1.1 and 1.2 no problems.

step 1.3 installing sqlcmd is making problems

SQLCMD is a command line tool that enables you to connect to SQL Server and run queries.

  1. Installed successfully the OBDC DRIVER.
  2. Installed successfully the SQL Server Command Line Utilities. 
  3. There is a problem: After installing SQLCMD, you should  connect to SQL Server using the following command from a CMD session but i cant... :
  4.  sqlcmd -S localhost -U sa -P your_password
  1. This are errors i got 
C:\>sqlcmd -S localhost -U sa -P your_password
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [2]. .
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
  1.  i go to services w-key+R-->services.msc-->SQL Server (SQLEXPRESS) is running. SQL Server VSS Writer restarted. 
  2. sql server configuration manager-->sql server network configuration -->ENABLE named/pipes and tcp/ip protocols.
  3. Still got the problem even if i simply type sqlcmd inside cmd.
  4. CMD is started with administrator privileges all the time.

r

Regards, Mario


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>