Lazarus

Programming => Databases => Topic started by: echi on March 04, 2021, 01:43:14 pm

Title: mssqlconn using port AND instance
Post by: echi on March 04, 2021, 01:43:14 pm
Hello Forum,

in all my connection strings to mssql databases there is
host.domain\instance,port

The manual says that with TMSSQLConnection the Hostname property can be either
host.domain\instance
or
host.domain:port

But the Database Server wants me to connect with instance AND port.
I tried
host.domain\instance:port
or
host.domain:port\instance
None of them was working.

How does this work with TMSSQLConnection or is this simply not supported?
TinyPortal © 2005-2018