{"action":"opened","issue":{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/659","labels_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/659/comments","events_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/659/events","html_url":"https://github.com/jruby/activerecord-jdbc-adapter/issues/659","id":90886025,"number":659,"title":"MySQL Connector/J multi-host helpers","user":{"login":"kares","id":45967,"avatar_url":"https://avatars.githubusercontent.com/u/45967?v=3","gravatar_id":"","url":"https://api.github.com/users/kares","html_url":"https://github.com/kares","followers_url":"https://api.github.com/users/kares/followers","following_url":"https://api.github.com/users/kares/following{/other_user}","gists_url":"https://api.github.com/users/kares/gists{/gist_id}","starred_url":"https://api.github.com/users/kares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kares/subscriptions","organizations_url":"https://api.github.com/users/kares/orgs","repos_url":"https://api.github.com/users/kares/repos","events_url":"https://api.github.com/users/kares/events{/privacy}","received_events_url":"https://api.github.com/users/kares/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/labels/feature","name":"feature","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-25T07:40:41Z","updated_at":"2015-06-25T07:40:41Z","closed_at":null,"body":"... since multi-hosts might be used for replication/loadbalancing (besides fail-over).\r\n\r\nso that users do not have to specify the full jdbc syntax we should introduce : \r\n```yaml\r\nadapter: mysql\r\n  host: host1,host2\r\n  loadbalance: true # jdbc:mysql:replication://[master host][:port],[slave host 1][:port] ...\r\n  # replication: true # jdbc:mysql:loadbalance://[host1][:port],[host2][:port][,[host3][:port]]...\r\n```"}}