Ok. As my interest is more MariaDB than MySQL I looked more into MariaDB. Due to the fact MariaDB doesn't include an embedded version I have been looking at execting a standalone server using mariadbd.exe and am having certain success.
Yes you are right, the table mysql has to be initialized.
I have only one issue now. How can I tell ZConnection which named pipe I want to connect to?
As before I have two server 127.0.0.1 port 3306 (this server also has a named pipe MySQL)
the second server is executed with
mariadbd.exe --console --default-storage-engine=MyISAM --named-pipe --skip-grant-tables --skip-networking --socket=MariaDB --skip-innodb
Both server are running at the same time on the same machine. Using HeidiSQL I can connect to both servers at the same. The first by IP, and the second by named pipe (in this case MariaDB).
How can I tell ZConnection which namedpipe to use? (It always connects to MySQL on the first server)
I have this in properties:-
MYSQL_OPT_NAMED_PIPE
MYSQL_OPT_PROTOCOL=3
MARIADB_OPT_UNIXSOCKET=MariaDB