Sunday, June 09, 2013
Connecting DbVisualizer to Heroku PostgreSQL database
Just a quick note on how to connect DbVisualizer to a Heroku PostgreSQL database. The trick is to get the SSL stuff to work, as DbVisualizer needs to be told to use a SSL factory (via the sslfactory driver property). I used the 'org.postgresql.ssl.NonValidatingFactory' SSL factory. I set this property and the ssl property (to true) in the Properties tab of the connection information.
The rest of the connection information you need to get from Heroku, in particular the Heroku database configuration. Go to your Heroku dashboard, drill into your app of interest and click on the Heroku Postgres link (mine was labelled "Heroku Postgres Dev"). This will take you to the herokupostgres setting for your application. Click on the bi-directional arrows icon (Connection Settings) and you can find your connection setting there. I used the JDBC properties and filled out the Server Info settings format. This format seems to work better in DbVisualizer. Also allows you to ping the database server.
Labels:
dbvisualizer,
postgresql
Subscribe to:
Post Comments (Atom)
Much obliged
ReplyDeleteThanks! Worked perfectly (when I worked out how to edit the properties correctly.)
ReplyDeleteHey Chris - you da man. Thanks for the tip!
ReplyDeleteIt works! Thanks man.
ReplyDeleteThree years after writing this post and it is still helping! Thanks for the info!
ReplyDeleteMan - thanks a ton. Saved me hours of head-banging!
ReplyDeleteWorked for me. Thanks!
ReplyDeleteI know it's four years later - but this just saved me so many hours of trying to figure this out!! Thank you!
ReplyDeleteThank you very much!!
ReplyDeleteGreat. Thank you
ReplyDeleteIts very best post thanks for posting..
ReplyDeleteVisit Best Astrologer in Rajanna Sircilla
Nice...post!
ReplyDeletevisit here
Sofa Refurbishing in Agara Bangalore
Nice post. Keep sharing. Thanks for sharing.
ReplyDeleteabhiram astrology center. Best indian Astrologer In brooks
Thanks for sharing this informative blog..Keep posting.
ReplyDeleteFor pest control services in bangalore. Contact us.