私はすでに Rails プロジェクトを持っているので、インストールしてpgadmin Postgresql
III を使用します。開発では posgresql を使用する必要があり、sqlite
本番では使用する必要がありますheroku
。この質問の 2 番目の回答に従いました。Postgresql
他に何もせずにシナプスセンターを使用すると、ユーザーを作成しようとするとエラーが発生しました:
createuser dexter
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) y
createuser: could not connect to database postgres: FATAL: role "dexter" does not exist