dokku-pg-plugin icon indicating copy to clipboard operation
dokku-pg-plugin copied to clipboard

Invalid port number in postgresql:link if app and db names is different.

Open demchenkoe opened this issue 10 years ago • 1 comments

get_postgresql_id use variable $APP as name of database. But application name and name of database may be different. In this case get_postgresql_id return invalid containter id.

demchenkoe avatar Jan 17 '15 09:01 demchenkoe

I have the same problem.

As a workaround I have renamed my databases to match the application names now.

Is it possible that the process of creating a root password is also disturbed by this issue? My DATABASE_URL contains a password thats not accepted in the given port for root. I have a seconds database and tried its password on the URL in my DATABASE_URL variable and it worked.

Pluto1010 avatar Feb 04 '15 07:02 Pluto1010