This difficult-to-trace error occurs when you start the app server and you have an error in your database.yml. Instead of

username: user

I had

user: user

One Response to “FATAL: no PostgreSQL user name specified in startup packet (PGError)”

  1. Friedrich Göpel Says:

    Had the same problem after updating the pg gem,
    so this post saved my potentially quit a bit of time.
    Thanks!


Leave a Reply