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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:56:42+00:00 2026-05-31T02:56:42+00:00

I have installed PostgreSQL to my Mac OS X (10.6), specifically the EnterpriseDB .

  • 0

I have installed PostgreSQL to my Mac OS X (10.6), specifically the EnterpriseDB. In the applications was created the folder PostgreSQL 9.1 and there is SQL Shell (psql).app. After opening this app is opened terminal window, where is on the command line Server [localhost]:.

I am a bit confused of that, how can I work/log-in to this DB system? I am habit on MySQL, where I just type to the terminal window mysql -u username -p password and everything is prepared to work, but here I am a bit confused… How can I log-in to PostgreSQL database>

EDIT

locate psql | grep /bin

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

  sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
  • 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-31T02:56:43+00:00Added an answer on May 31, 2026 at 2:56 am

    you can login with psql. You don’t need a password, if your unix-account name matches the db-account name and the sever is on localhost. At least that’s the default in postgreSQL (check for ident in pg_hba.conf).

    If you want to use a different db-user, check “psql –help”.

    • 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 have just read Mac OSX Lion includes Postgresql ( Repairing Postgresql after upgrading
I have recently installed PostgreSQL on Ubuntu with the EnterpriseDB package. I can connect
I have a Tomcat and PostgreSQL installed on a server. I'm having a connection
I have installed PostgreSQL on my FreeBSD 8.2 box. How can I open the
I have installed PostgreSQL and pgAdminIII on my Ubuntu Karmic box. I am able
Well, I have MAMP installed on my Mac OS X, and I've got PostGres
I have a lovely PostgreSQL 9.0 server installed on my laptop via MacPorts. I
I have a little silly question. I have installed a PostgreSQL DB Server, but
I have a Django-created tables in PostgreSQL 8.4 database, where one table extends another.

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.