Flink / dokku-psql-single-container

Plugin for dokku that provides a Postgresql server in a single container
MIT License
51 stars 9 forks source link

Where to find password for psql:admin_console or how can I reset it? #24

Closed darklow closed 8 years ago

darklow commented 8 years ago

I've been using this plugin for many months now. And now realised i need superuser privileges to create specific extension. But I can't find superuser password to run dokku psql:admin_console Is there a file somewhere to look for it, or to reset it? Thank you.

Flink commented 8 years ago

There isn’t a password for the super user. The default super user is the postgres one which works by connecting inside the container as the system postgres user (much like it works with debian/ubuntu). So if you need a specific user to have admin rights, you’ll have to create it or to grant those rights to an existing one using the psql:admin_console.

darklow commented 8 years ago

Ok, thank you for your notes.