Provisioning a remote server with newest master branch of Trellis with the variable for remote sql set to true.
mysql_remote_database: true
I have tried it with it set to true from first provision (so no mariadb ever installed) and also provisioning first so mariadb gets installed then switching afterwards.
Either way Trellis will always fail when trying to connect to the remote db and will act like it can’t find a local database even though db_host is set to an IP address.
After trying a few things I decided to ssh into the server and install the package
mysql-client
(This is with no mariadb role run ever)
Then I edited /etc/mysql/my.cnf file and changed the variable from the local ip 127.0.0.1 to my remote IP, then everything worked as expected.
Anyone else experience anything like this or am I missing something.