Apparently, the p5-DBD-mysql port insist on installing the databases/mysql56-client when the mysql57-client-5.7.12, and server, are already installed? Posted here: https://forums.freebsd.org/threads/56390/#post-320797 "Databases/p5-DBD-mysql requires [?] libmysqlclient.so.18 which is a library specific to the databases/mysql56-client port, hence the version clash."
Thanks for the report. Setting proper maintainer, don't know why bugzilla set ale@, but leaving him in CC.
I just tried this in a clean jail without DEFAULT_VERSIONS=mysql=57: cd /usr/ports/databases/mysql57-client && make install cd /usr/ports/databases/p5-DBD-mysql && make install and installing DBD::mysql, it does say: ===> p5-DBD-mysql-4.033 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) So, something must be wrong about how you're doing it, and without logs, it's a bit hard to see what may, or may not, happen.