Closed janrito closed 9 years ago
The stellar init command assumes that the database url does not contain a database name, it expects a url in the form of:
postgresql+psycopg2://<user>:<pass>@<host>/
if it does not contain the last / it stellar will add it.
/
When no database is defined, Postgresql assumes that there is a database named after the user, and attempts to connect to it. Something like:
postgresql+psycopg2://<user>:<pass>@<host>/<user>
If there is no database named after the user, the connection will fail.
Yeah, I'm having a similar problem. :+1:
Duplicate
The stellar init command assumes that the database url does not contain a database name, it expects a url in the form of:
if it does not contain the last
/
it stellar will add it.When no database is defined, Postgresql assumes that there is a database named after the user, and attempts to connect to it. Something like:
If there is no database named after the user, the connection will fail.