IBM Worklight 6.1 - Failed connecting to MS SQL using SQL adapter

后端 未结 1 2054
猫巷女王i
猫巷女王i 2021-01-24 07:27

I am trying to connect my adapter to a SQL Server 2012 Express database, but I can\'t quite get it right. I have downloaded a connector from here: http://msdn.microsoft.com/en-u

相关标签:
1条回答
  • 2021-01-24 08:03

    Regarding the connection error, see if the following will help:

    • http://www.coderanch.com/t/306316/JDBC/databases/SQLServerException-TCP-IP-connection-host

      ... open SQL Server Configuration Manager -> Protocols for SQL SQLEXPRESS, select Properties of TCP/IP. In the tab IP Addresses, set the TCPPort in section IPAll to 1433

    • http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bd5bb6c2-a4d9-4071-b2e6-a6c83970b212/commicrosoftsqlserverjdbcsqlserverexception-the-tcpip-connection-to-the-host-has-failed?forum=sqlreportingservices

      ... note that the JDBC URL structure is different re its use of slashes and backslashes, for example: `jdbc:sqlserver://localhost\SQLEXPRESS/Databases/EPS:1357

    0 讨论(0)
提交回复
热议问题