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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:01:52+00:00 2026-05-26T05:01:52+00:00

I got my new lion machine. Ran the PostgreSQL installer from the PostgreSQL site

  • 0

I got my new lion machine. Ran the PostgreSQL installer from the PostgreSQL site for Mac and i have no multiple apps installed. One of them is “pgAdmin III.app”. When I open it there is already one server connection available. localhost:5432

Whenever I try to connect to the server with a doubleclick the programm asks me for a password. I have no idea what to enter. It’s not my admin password, it’s not “postgres”, it’s not “localhost”, it’s not empty.

I just can’t seem to connect to the server. Even when I check the properties of the localhost server the password field seems empty. However I’m not allowed to leave the password field empty.

Any idea what to do? I really need to setup postgres?

  • 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-26T05:01:53+00:00Added an answer on May 26, 2026 at 5:01 am

    Haven’t tried it on OSX, but on Ubuntu you can login as the system user ‘postgres’ to the default database ‘postgres’ without a password with

    su postgres -c psql
    

    You can then (re)set the password of the database superuser ‘postgres’.

    You can also edit the configuration file pg_hba.conf (don’t know where it is located on a default OSX installation, on Ubuntu it is /etc/postgresql/8.4/main/pg_hba.conf) and grant access to the default database without authentication

    # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
    host    postgres    postgres    127.0.0.1/32          trust
    

    After editing pg_hba.conf you must reload the configuration with

    pg_ctlcluster 8.4 main reload
    

    You can then connect with pgAdmin and (re)set the password, but don’t forget to change the authentication method back to md5 again…

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

Sidebar

Related Questions

I just got a new Mac (with Lion) and am setting everything up, but
I recently got a new machine at work, and moved from XP 32 Bits
We have got the new Apple editor Xcode 4, I found some features from
We've got a new server with TFS installed. The current environment is very usual,
I've got a new site setup using CMSMadeSimple (PHP based) but I'm having problems
EDIT : New issue I have got some new stuff : I am pretty
I recently got a new laptop. Unfortunately, it came with Vista. It's been one
Just got a new Windows laptop, installing emacs23 on it. My previous computers have
I've got a new database here and it's an upgraded version from Oracle 10g
thanks for any help. I have a git repo on my local machine (mac

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.