Skip to content

Instantly share code, notes, and snippets.

@Vishwas1
Last active March 9, 2020 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vishwas1/7fc3b7fe719cb829fc05c288d2edad3a to your computer and use it in GitHub Desktop.
Save Vishwas1/7fc3b7fe719cb829fc05c288d2edad3a to your computer and use it in GitHub Desktop.

Setting up postgres in stellar with UNIX socket

  • Setup UNIX socket in with stellar postgres db
  • sudo systemctl stop postgresql
  • Update the file sudo vi /etc/postgresql/9.5/main/pg_hba.conf with local core stellar md5
  • Update the db connection string in stellar-core.cfg with DATABASE="postgresql://dbname=core host=/var/run/postgresql user=stellar password=stellar"
  • sudo systemctl start postgresql
  • restart the stellar-core

Setting up stellar with sqllite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment