MySQL Multiple Connection Hosts

I have a MySQL Cluster setup with MySQL Router. I am trying to get Grafana to talk to MySQL router and it does it just fine with one host in the url. However, when I try to add more than one host, it doesn’t work. Is this possible? If so, Is there a special format that I should use?

I have tried:

mysql://user:pass@[host1:port,host2:port,host3:port]/dbname
mysql://user:pass@host1:port/dbname,user:pass@host2:port/dbname,user:pass@host3:port/dbname

Thanks

Hi,

Based on this issue it’s not supported with multiple hosts.

Marcus