RUBY-658 fixing issue with default db from connection uri