jhthorsen / mojo-mysql

Mojolicious and Async MySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove DBD::mysql as dependency

saintserge opened this issue · comments

Hi,
Is it possible to remove DBD::mysql from dependency? I use only DBD::MariaDB and obviously it blocks me to install Mojo::mysql as it in requireds list?

Thanks.

How does that block you?

Thanks for the reply!
Not allowing my to install through cpanm/cpm as I do not have DBD::Mysql on my system.

I hope this is fixed in the upcoming release.

Changed to either look for DBD::MariaDB or the environment variable MOJO_MYSQL_PREFER_MARIADB=1.

Hi Jan,
Thanks, but it looks like changes are was not released?

That's weird. Anyways, I will make another release soon that supports MOJO_MYSQL_PREFER_DRIVER, but will also use DBD::MariaDB if it's available.

Thank you very much!