TeamCity 9.x 使用未命名 (NULL) MSSQL 实例设置外部数据库

TeamCity 9.x Setting up an External Database with unnamed(NULL) MSSQL instance

我正在评估 TeamCity 9.0.4 并使用 HSQLDB。 现在尝试将 MS SQL Server 2014 设置为外部 Database.I 没有命名实例(NULL)。

所以我尝试了以下连接URL

connectionUrl=jdbc:sqlserver://<host>:1433;databaseName=<database name>
connectionProperties.user=<user>
connectionProperties.password=<password> 

当我尝试加载生成服务器时收到此消息。

TeamCity is starting

Continuing attempts to connect to the database

TeamCity server is connecting to MSSQL database. The database server is not started yet, or the connection properties are not properly set.

我还检查了日志文件,这就是我得到的。

[2015-05-20 14:08:34,513] INFO - jetbrains.buildServer.STARTUP - Current stage: Continuing attempts to connect to the database

SQLSERVER 已启动,我认为连接有问题 URL。 我该怎么做才能解决这个问题。

TeamCity 9.x Documentation Setting up an External Database

感谢 DevOps。

我的错误,我在本地测试 TeamCity。 SQL 服务器网络连接 有问题。 TCP/IP 已为 SQLEXPRESS

禁用

为SQLEXPRESS

启用TCP/IP
  1. 打开 SQL 服务器配置管理器
  2. 转到 SQL 服务器网络下 SQLEXPRESS 的协议 配置。
  3. 右键单击 TCP/IP 并选择“属性”。设置启用 = 是。

  4. 最好也检查一下,单击 IP 地址选项卡并找到该部分 知识产权全部。将 TCP 端口设置为 1433。