Board index » delphi » TDatabase.params

TDatabase.params

Default connection to a SQL-Server is over named pipes.

How can I change that with the TDatabase.params parameters ?
I would like to connect over TCP-IP and not with named pipes.

Thanks
Daniel

 

Re:TDatabase.params


Quote
Ruoss Daniel wrote in message <3b03096a$1_1@dnews>...
>Default connection to a SQL-Server is over named pipes.

>How can I change that with the TDatabase.params parameters ?
>I would like to connect over TCP-IP and not with named pipes.

You should be able to control this simply by how the connect string is
specified (whether specified directly in the TDatabase or in the BDE
Alias selected in the TDatabase), e.g:

  servername:d:\some\directory\path\some.database.file

--
Wayne Niddery (WinWright Inc.)
RADBooks - http://members.home.net/wniddery/RADBooks/delphibooks.html
"At the apex of every great tragedy of mankind there stands the figure
of an incorruptible altruist" - Ayn Rand

Re:TDatabase.params


I hope, but how must be the string.
I tryed with
ServerName: IP Adress of Server
Port: Portxxx
But it connect again with named pipes.

Thanks
Daniel

"Wayne Niddery (TeamB)" <winwri...@chaffhome.com> schrieb im Newsbeitrag
news:3b044a64$1_2@dnews...

Quote
> Ruoss Daniel wrote in message <3b03096a$1_1@dnews>...
> >Default connection to a SQL-Server is over named pipes.

> >How can I change that with the TDatabase.params parameters ?
> >I would like to connect over TCP-IP and not with named pipes.

> You should be able to control this simply by how the connect string is
> specified (whether specified directly in the TDatabase or in the BDE
> Alias selected in the TDatabase), e.g:

>   servername:d:\some\directory\path\some.database.file

> --
> Wayne Niddery (WinWright Inc.)
> RADBooks - http://members.home.net/wniddery/RADBooks/delphibooks.html
> "At the apex of every great tragedy of mankind there stands the figure
> of an incorruptible altruist" - Ayn Rand

Other Threads