Page 1 of 1

Windows Pipe

Posted: Fri 28 Nov 2008 15:59
by ale.capu
Please,
can I have an example for connecting to Mysql Windows server via a NamedPipe ?

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

What else ?

Posted: Mon 01 Dec 2008 08:41
by Dimon
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.