sqlcmd -S "(localdb)\mssqllocaldb"
我收到以下错误信息:
sqlcmd: Error: Microsoft ODBC Driver 13 for sql Server : sql Server Network Interfaces: The system cannot find the file specified.
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.
如果我使用sql Server Management Studio,我可以连接到本地数据库.如果我使用实例名称管道,我也可以连接到本地数据库.
我有一个干净的安装的Windows 10 x64,Visual Studio社区和sql Server Management Studio 2016.
谢谢!
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。