Skip to Content
Menu
This question has been flagged
2 Replies
8425 Views

I am not able to create the first database.

All I get is the Database creation error. I've tried changing the password from  odoo.conf but I still get the same error.

Please help.

Avatar
Discard
Best Answer

I experienced the same on a Windows machine with Odoo 17.  The cause of this problem could be that you installed Postgresql before installing Odoo. 

How I solved it is by the following:

I uninstalled Postgresql and deleted all folders in installation path (in the C drive) and pgAdmin folder in AppData folder (it's usually a hidden folder located under Users folder). Then I uninstalled Odoo. 

Finally I re-installed Odoo 17, and during this step I selected the option to install Postgresql. 

If you already have an existing database, make sure to make a backup of it and Odoo modules. 

Avatar
Discard
Best Answer

I use Odoo 18 for expoloring, i'm new here. I use Odoo virtual that i download it from Odoo's GitHub. When i run 'python odoo-bin -c odoo.conf', i face "Database creation error: Access Denied". I already give access to new user that i create from PostgreSQL. It can create database and schema successfully, but i donk't the reason Odoo says "Database creation error: Access Denied". This my config that i use :

[options]

; Konfigurasi Database

db_host = localhost

db_port = 5432

db_user = nigel

db_password = nigel

db_name = False  ; Gunakan False agar bisa pilih database di UI Odoo

; Konfigurasi Odoo

addons_path = C:\Users\nigel\Documents\Odoo_Integra\odoo\addons

logfile = C:\Users\nigel\Documents\Odoo_Integra\odoo\odoo.log

; Konfigurasi Server

xmlrpc = True

xmlrpc_port = 8069

; Web Interface

admin_passwd = admin
--------------
Please help me to fix it.

Avatar
Discard
Related Posts Replies Views Activity
2
Sep 23
8310
3
Mar 18
7195
2
Mar 15
4061
1
Mar 15
3077
0
Mar 15
3272