Default Postgres Password

Wahlstedt Jyrki jwa at macports.org
Sun Nov 25 13:34:48 PST 2012


On 25.11.2012, at 22.55, Jean Gobin <jeanfgobin at gmail.com> wrote:

> Off of the top of my head, you su to the user postgres and just run the pgsql program. 
> 
> J.
> 
> 
> On Sun, Nov 25, 2012 at 3:50 PM, Stephen Rasku <macports at srasku.net> wrote:
> Hi Everyone,
> 
> What is the default password for Postgres?  Is there one?  I don't recall setting it.  I don't have a lot of data installed so I could just uninstall, reinstall, and reload the data.  Would this be the best solution?
> 
> ...Stephen
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
> 

Hi,
you can look at e.g. postgresq92-server, how to invoke a command as postgres user. However, the first thing you should do is to create a database user to yourself with createuser command. (The PostgreSQL manual is a good read, too, to start one off).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121125/613d3ed9/attachment.html>


More information about the macports-users mailing list