ProgrammingError: permission denied to create database ??

Hello All,
I got an error while creating a DB, the error given below. 
ProgrammingError: permission denied to create database


The answer :
1. sudo su  postgres    (the idea is to switch to postgresql user)
2. psql
3. ALTER USER odoo WITH CREATEDB; (change odoo with your username)

Comments

Popular posts from this blog

How to learn data structure effectively

How to Learn to Code, Fast

Download Binary file in Odoo 10