CLOUDSTACK-4916: Fixing the issue with DB HA when there are more than 2 db nodes (Issue was mysql DriverManager was returning salve db nodes on random basis which was causing issue)

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>