跳至內容
選單
此問題已被標幟
2 回覆
9183 瀏覽次數

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.

頭像
捨棄
最佳答案

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. 

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 23
9283
3
3月 18
7459
2
3月 15
4199
1
3月 15
3219
0
3月 15
3401