Daniel Sousa
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
An improvement regarding PostgreSQL setup could be allowing all local connections without password.
The way to do it is edit the configuration file:
The way to do it is edit the configuration file:
sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf
And change all methods to trust. Restart postgres service.
This way no password must be provided in the database.yml.