Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Cannot init horizon db #413

Open
nengine opened this issue Oct 21, 2017 · 3 comments
Open

Cannot init horizon db #413

nengine opened this issue Oct 21, 2017 · 3 comments

Comments

@nengine
Copy link

nengine commented Oct 21, 2017

I have postgres 9.3 installed on localhost and trying to init horizon database but getting an error like shown below. Please let me know if I'm missing any configuration parameters.

Ubuntu 14.04 x64
horizon-v0.11.0-linux-amd64

.env file

DATABASE_URL              = "postgres://stellar:123@localhost/horizon_development?sslmode=disable"
STELLAR_CORE_DATABASE_URL = "sqlite3://stellar.db"
STELLAR_CORE_URL          = "http://localhost:8080"
root@stellar-01:~/stellar-core# horizon db init
ERRO[0000] connect failed: pq: password authentication failed for user "root"  pid=2117
@i3bitcoin
Copy link

I wonder, is it possible to use sqlite3 in DATABASE_URL, to make the wallet more portable?

@bphallad
Copy link

bphallad commented Jan 24, 2018

Did you get this to work? Try the steps I list in this ticket and let us know:

Unable to execute command ./horizon db init #417

@nengine
Copy link
Author

nengine commented Jan 24, 2018

Thank you. This is working now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants