MariaDB named pipes

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
pcurtis
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 02.02.2021, 23:13

MariaDB named pipes

Post by pcurtis »

Hi All,

quite simply how do I connect to a named pipe / socket?

I use MariaDB, Windows, Lazarus. The server is setup, I can connect via HeidiSQL.

Thanks in advance.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: MariaDB named pipes

Post by marsupilami »

Hello pcurtis,

I doubt that this is possible with Zeos. I assume you will have to use aloopback TCP connection...

Best regards,

Jan
pcurtis
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 02.02.2021, 23:13

Re: MariaDB named pipes

Post by pcurtis »

It is very possible. Just add

MYSQL_OPT_NAMED_PIPE
MYSQL_OPT_PROTOCOL=3

to parameters.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: MariaDB named pipes

Post by marsupilami »

Good to know. Thank you :)
Post Reply