Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6739539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:30:03+00:00 2026-05-26T11:30:03+00:00

I have installed PostgreSQL on my Mac OS Lion, and am working on a

  • 0

I have installed PostgreSQL on my Mac OS Lion, and am working on a rails app. I use RVM to keep everything separate from my other Rails apps.

For some reason when I try to migrate the db for the first time rake cannot find the postgres user. I get the error

 FATAL:  role "postgres" does not exist

I have pgAdmin so I can clearly see there is a postgres user in the DB – the admin account in fact – so I’m not sure what else to do.

I read somewhere about people having issues with PostgreSQL because of which path it was installed in, but then I don’t think I would have gotten that far if it couldn’t find the db.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:30:04+00:00Added an answer on May 26, 2026 at 11:30 am

    This message pops up, when the database user does not exist. Compare the manual here.
    Multiple local databases cannot be the explanation. Roles are valid cluster-wide. The manual again:

    Note that roles are defined at the database cluster level, and so are
    valid in all databases in the cluster.

    You must be ending up in another database-cluster. That would be another server running on the same machine, listening to a different port. Or, more likely, on a different machine.

    Could it be that the message comes, in fact, from the remote server?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just installed PostgreSQL 8.3.4 on Mac OS X 10.5 (using ports), but
I use a bash script to install an app on Mac OS X Lion.
I have installed PostgreSQL to my Mac OS X (10.6), specifically the EnterpriseDB .
I have installed PostgreSQL and it is working ok. However, when I went to
I have just read Mac OSX Lion includes Postgresql ( Repairing Postgresql after upgrading
I want to run a Rails app on Heroku so I installed PostgreSQL on
I have a Tomcat and PostgreSQL installed on a server. I'm having a connection
I have installed Xperf performance analyzer from Windows SDK and captured a trace as
I have installed pylons based application from egg, so it sits somewhere under /usr/lib/python2.5/site-packages.
I have installed PostgreSQL on my FreeBSD 8.2 box. How can I open the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.