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.