Spent about two days combining/testing protocols, parameters with no luck. Seems that java client connector is buggy, but maybe I miss something.
Tried a lot of combinations, a lot.
jdbc:mariadb://localhost/?pipe=MySQL
jdbc:mariadb://localhost/?pipe=\\.\pipe\MySQL
jdbc:mariadb://localhost/?pipe=\\\\.\\pipe\\MySQL
jdbc:mariadb://localhost/?pipe=//./pipe/MySQL
jdbc:mysql://localhost/?protocol=pipe&permitMysqlScheme
Nothing helped. Just "hostname must be set" in most situations and "the address can't be null" when "pipe=something" (pipe=MySQL, pipe=\.\pipe\MySQL etc, not "pipe=")
When connecting to the MariaDB by mysql java connector - then all is ok, it's enough to type "jdbc:mysql:///?protocol=pipe" in url and all works fine. But mariadb java connector...
Any suggestions?
To succesful connect through pipe I do: