FreeTDS hangs indefinitely after Microsoft SQL Express 2012 Install

对着背影说爱祢 提交于 2019-12-06 05:20:58

The tsql command was hanging because the server was not running on the default port. I found this out by running C:\>netstat -na | find "1433", which showed nothing LISTENING on port 1433.

This is how I fixed the problem:

  1. Open "Sql Server Configuration Manager"
  2. Go to "SQL Server Network Configuration > Protocols for SERVER"
  3. Right click "TCP/IP", select "Properties", go to the "IP Addresses" tab
  4. Under "IPAll" set "TCP Port" to the desired port number
  5. Click OK, and restart the SQL Server service.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!