database.yml:
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem \'sqlite3\'
development:
adapte
This occurs if the password for the database is not given.
default="postgres://postgres:password@127.0.0.1:5432/DBname"
I just put --password
flag into my command and after hitting Enter it asked me for password, which I supplied.
After making changes to the pg_hba.conf
or postgresql.conf
files, the cluster needs to be reloaded to pick up the changes.
From the command line: pg_ctl reload
From within a db (as superuser): select pg_reload_conf();
From PGAdmin: right-click db name, select "Reload Configuration"
Note: the reload is not sufficient for changes like enabling archiving, changing shared_buffers
, etc -- those require a cluster restart.