This question has been flagged

Hello!
I have trouble with creating a database, on initial screen, after entering a password, I get "Database creation error: Access Denied". I've fixed a password in .conf file, set 

admin_passwd = new-password 

but still, but it didn't help.
I've just installed Odoo 16 community edition from Git, using it with PyCharm (2021.3.3) on Windows 10, with PostgreSQL 15 attached. Postgres user was created specially for Odoo and has attribute of creating DB. What do I miss, what is wrong?

Avatar
Discard

Hi Ростислав

Try .conf like this.
And make sure odoo read your config file.

admin_passwd = new-password
db_host = False
db_port = False
db_user = odoo
db_password = False

Follow this for more
https://www.odoo.com/forum/help-1/how-to-configure-pycharm-for-odoo-development-in-windows-85807
https://www.cybrosys.com/blog/configure-pycharm-odoo-development-windows
https://www.cybrosys.com/blog/how-to-configure-odoo-13-pycharm-windows-10

Author

Kothiya Rajesh
I can't reply to your reply, so, I'll answer here.
Thanks for your intention, but I tried your proposal for config file and that didn't help. Yeas, it is clearly that my .conf file is used, it is written in logs and if I mess with DB variables, everything becomes broken.

Best Answer

Hi,

You should change the db_user and db_password which is the password and username you set by creating a new super user in pgAdmin4.

Refer this blog for installing odoo 16 on windows:https://www.cybrosys.com/blog/how-to-install-odoo-16-in-windows-11


Hope it helps

Avatar
Discard