Look in /var/log/messages.Does it save this kind of information somewhere by default?
That's easy. Packages are built with default settings, the default is MySQL 5.6. So any package that needs a client will install databases/mysql56-client, removing your MariaDB (because it conflicts).I'd like to find out precisely why, else I'm speculating.