Hello, I have installed mariadb-server-5.5.31p0 and mariadb-client-5.5.31p0 on an OpenBSD 5.3 amd64 machine.
I have also re-installed from ports p5-DBD-mysql with version 1.36 of Makefile, which supports mariadb. p5-DBD-mysql via pkg_add gives me this error: sudo pkg_add /usr/ports/packages/amd64/all/mariadb-server-5.5.31p0.tgz Can't install mysql-client-5.1.68 because of conflicts (mariadb-client-5.5.31p0,mariadb-tests-5.5.31p0) Can't install p5-DBD-mysql-4.022: can't resolve mysql-client-5.1.68 Can't install mariadb-server-5.5.31p0: can't resolve p5-DBD-mysql-4.022 --- mysql-client-5.1.68 ------------------- Can't install mysql-client-5.1.68: conflicts because it depends on the mysql-client-5.1.68. mariadb-server is running, I am able to connect to the server via mysql command line client. However I am not able to do the same thing from a Perl script when trying to connect to the a mariadb database. install_driver(mysql) failed: Can't load '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/DBD/mysql/mysql.so' for module DBD::mysql: Cannot load specified object at /usr/libdata/perl5/amd64-openbsd/5.12.2/DynaLoader.pm line 200. at (eval 5) line 3 Compilation failed in require at (eval 5) line 3. Perhaps a required shared library or dll isn't installed where expected May this has something to do with the comment from cvs repository for ports/databases/p5-DBD-mysql/Makefile: "Revert back to using MySQL 5.1 for the time being. MariaDB 5.5 introduces a new libmysqlclient non-blocking API which utilizes co-routines. The X86 specific GCC ASM co-routine support hid the fact that there was an issue. The only fallback code so far is POSIX user contexts which OpenBSD does not support." My suspicion is that the p5-DBD-mysql glue is not functioning correctly becaose of the issue described above, but I cannot tell why. Is there anything that can solve this issue? I want access to this db from localhost, otherwise I would have use a client from another machine. Is there a trick to connect from Perl to a mariadb database ? If not, will be possible in the future? As a side note , on Ubuntu 13.04 mariadb installed via package manager works as expected. Thank you, Bogdan