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 8715089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:45:51+00:00 2026-06-13T05:45:51+00:00

I installed the latest version of postgres on OS X Lion using homebrew. The

  • 0

I installed the latest version of postgres on OS X Lion using homebrew. The path is correct:

$ which postgres
/usr/local/bin/postgres
$ which psql
/usr/local/bin/psql

and brew doctor is happy. However, when I try to create a user, this happens:

$ createuser myuser
Password:
createuser: could not connect to database postgres: FATAL:  password authentication failed for user <$USER>

The password is definitely not my regular user password and I have no idea how to find out what it’s supposed to be. It’s possible that I used homebrew to install a different version of postgres some time ago while installing a bunch of other stuff, but I don’t recall. I did notice a different version of ‘postgresql’ that was installed alongside the new version of ‘postgres’, which I removed.

Don’t know if this is a clue, but when I do this:

$ sudo su - postgres

The path to psql (but not postgres) is no longer correct:

postgres$ which postgres
/usr/local/bin/postgres
postgres$ which psql
/usr/bin/psql

Might be something simple. Would appreciate any help. Thanks!

Mac OS X Lion 10.7.5
homebrew 0.9.3
postgres 9.2.1
  • 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-06-13T05:45:53+00:00Added an answer on June 13, 2026 at 5:45 am

    I solved the problem: I had to stop the server for the old version of postgres that came with my system. I didn’t realize it, but I guess it starts on system start. Now I’m not having a problem.

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

Sidebar

Related Questions

I just started using the FB Csharp SDK and installed the latest version of
I have installed latest version of pligg on my local server. It's running fine.
I'm using MySql server on Mac OSX 10.6.7, and I've installed latest version of
I've just installed the latest version of plupload to my local test PHP server,
I installed the latest version of Wordpress and added the WP-Syntax plugin (and also
I have installed the latest version of netbeans and its working.. I have opened
I'm working on getting knitr setup. I installed the latest version of R (2.15.1),
I installed what I assumed would be the latest version ( link ) of
I downloaded the latest open source version of QT4-and its installed in c:\qt\2009.04. I've
mac os x lion 10.7.4 psql --version -> psql (PostgreSQL) 9.0.5 I want to

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.