Looking for some advice on this, how could one swap out MariaDB for MySQL on Trellis effectively. Reason being, our sites are hosted on WPEngine, which is MySQL and while MariaDB is compatible, as a team we would like to keep our local RDBMS on the same versions.
I’m trying to step through the logic and understand Ansible.
So far I’m seeing the set up in trellis/roles/mariadb/* and within dev.yaml and server.yaml
You might want to check out HGV It’s WP Engine’s “offical” vagrant box. It uses Ansible I I suspect you can, with minor tweaking, use it’s Ansible scripts as a guide to modify Trellis.
Further notes:
HGV hasn’t gotten much love lately from WPE, otherwise I’d just recommend using it directly over Trellis.
Personally, I don’t use HGV anymore (I far prefer Pressmatic and have abandoned HHVM in favor of PHP7… the primary impetus for HGV was HHVM for their Mercury product years ago).
I thought WPE used Percona (another MySQL compatible DB fork like MariaDB), I certainly could be wrong here though.