Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.