Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku PostgreSQL

I need to edit data in my tables at Heroku, how can i do that with an IDE for PostgreSQL or some other solution to this? I'm really new to Heroku, so please can you guide me what's the best way around it. thanks

like image 285
Sultan Saadat Avatar asked May 09 '26 18:05

Sultan Saadat


2 Answers

To the best of my knowledge, Heroku does not offer direct access to the database. Does heroku console cut it for you? You can access the db through your models directly.

Otherwise you may want to look at how to import/export your database.

like image 158
edgerunner Avatar answered May 11 '26 09:05

edgerunner


If you have access to a dedicated database, you will be able to take advantage of the "ingress" feature to get a raw connection to your database, compatible with all programs that need to speak over the Postgres wire protocol (examples include: psql, pgadmin, navicat, or Microsoft Excel with ODBC -- yes, really, and it's not half bad sometimes!)

But on shared databases you are somewhat out of luck at this time unless you somehow bounce your interactions off ruby and the pg gem.

like image 32
fdr Avatar answered May 11 '26 08:05

fdr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!