Named pipes alternative using MySqlConnection

Connection string

This MySQL Connector/Net connection string can be used for connections to MySQL.


It is the port value of -1 that tells the driver to use named pipes network protocol. This is available on Windows only. The value is ignored if Unix socket is used.