Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've installed a Bitnami image for Django (on ubuntu).

It comes preconfigured with PostgresSQL, which already has a "bitnami" user defined.

Now I want to create a new db, but createdb fails with:

createdb.bin: database creation failed: ERROR:  permission denied to create database

Sudo doesn't help...

sudo /opt/bitnami/postgresql/bin/createdb -U bitnami new-db

I have no idea if there's a "postgres" user (usually the admin user), or what its password is...

What am I missing?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

In this link you can find some documentation about the default configuration of PostgreSQL in BitNami. In the Virtual Machines the default password for the 'postgres' database user is 'bitnami'

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.