作者:当时桃花恨春风_375 | 来源:互联网 | 2023-09-02 13:25
错误代码如下::(11001:[Microsoft][ODBCDriver11forSQLServer]TCPProvider:不知道这样的主机。0:[Microso
错误代码如下:
:(
11001:[Microsoft][ODBC Driver 11 for SQL Server]TCP Provider: 不知道这样的主机。 0:[Microsoft][ODBC Driver 11 for SQL Server]Login timeout expired11001:[Microsoft][ODBC Driver 11 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.
找了半天网上都没有答案,最终发现解决方法:
修改config里面的连接配置:
把DB_HOST直接填写IP地址,不要用http://