SQL Server Network Interfaces: Connection string is not valid [87]

前端 未结 3 2427
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 08:08

When I am running this from cmd on my SQL Server 2008 instance:

sqlcmd -U sa -S mymachinen_name\\MSSQLSERVER

(where MSSQLSERVER

3条回答
  •  星月不相逢
    2020-12-19 08:54

    Typically, the MSSQLSERVER service is the service of a un-named default instance.

    Therefore, try this:

    sqlcmd -U sa -S mymachine_name
    

    (without specifying any instance name - just the machine name)

提交回复
热议问题