Requirements For Using Multiple Databases

I am curious if databases have to reside on the same server or is there a need for ipv6 ?

I know that mysql likes ipv6 when connecting two databases. But Yii doesn’t seem to care about that in the connection

parameters.

I have a multi-database connection working in my office but can’t get it to work in the cloud.

I would begin debugging this by trying to connect to MySQL from your shell in the cloud. If you can’t connect from the shell then Yii itself won’t be able to connect. By default MySQL is configured to only allow localhost connections.