Windows Pipe

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
ale.capu
Posts: 10
Joined: Fri 21 Nov 2008 17:51

Windows Pipe

Post by ale.capu » Fri 28 Nov 2008 15:59

Please,
can I have an example for connecting to Mysql Windows server via a NamedPipe ?

FDBConnection.Params.Add( 'Custom Setting=Protocol=pipe' );

What else ?

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 01 Dec 2008 08:41

To specify if should be used Named Pipes to connect to MySQL server you should use the following code:

Code: Select all

CRSQLConnection.Params.Values['Custom String'] := 'Protocol=pipe';
For more information about Named Pipes read MySQL Reference Manual.

Post Reply