Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Database creation error: Access denied

Odoberať

Get notified when there's activity on this post

This question has been flagged
8 Replies
158593 Zobrazenia
Avatar
Jayanthi Venugopal

I was able to create just one database after installing odoo 9 on Ubuntu Server (16.04.1). I am able to duplicate the same database , but not able to create new database

5
Avatar
Zrušiť
Jayanthi Venugopal
Autor

@Brian Gunderson. I have confirmed the password I have used is the same in odoo-server.conf file.Also I am able to successfully duplicate database with same password. I have checked the log file too, but no error message there.

Jayanthi Venugopal
Autor

@Brian Gunderson. Thanks! I tried with a different browser without remember password and was able to create database. Wonder how the browser can change the password with Auto-fill.

Thanks again.. have spent hours trying to sort this issue

Ermin Trevisan

This is normal when having multiple databases with an IP address only.

Avatar
Oleksandr Komarov
Best Answer

1. First of all you have to check admin_passwd in odoo.conf. But if you see something like

admin_passwd = $pbkdf2-sha512$25000$15oTopRSSomREkLIeQ8hRA$QlTTxd4bqTTxSI0/u4g/yukO9jT2yFtTx4sAu46GtMKHnooPWT 

Then you can't know what is db-admin password.

2. But you can change it like this:

admin_password = my-New-Cool-P@$$WoRD

Restart odoo server by command: "sudo service odoo restart" and try to create DB again.

3. But if it not worked! Maybe your parameters db_user or\and db_password is not correct. Check it in /etc/odoo/odoo.conf

If you use postgresql with the specified user and password,
then you must specify the same user and password in /etc/odoo/odoo.conf in parameters db_user and db_password.
Otherwise, you will get this same error due to the fact that the database user has no rights to operations with databases.

For example, if you use the official docker, and docker-compose from the site https://hub.docker.com/_/odoo/ or https://store.docker.com/community/images/library/odoo then pay attention to the parameters

  mydb:
    image: postgres:10
    environment:
      - POSTGRES_USER=database-user
      - POSTGRES_PASSWORD=my-databaseuser-password
      - POSTGRES_DB=postgres



Thus, in order for you to do something with the databases from https://yourdomain/web/database/manager, you must set the db_user=database-user and db_password=my-databaseuser-password parameters in the file /etc/odoo/odoo.conf


4. If you don't know what is db user name and db-user password, then try to set official db_user=odoo and db_password=odoo.
5. If it not helped then you can try to  add new postgresql user, give him all permission and use him in odoo.conf
6. Or you can change postgresql user password.

11
Avatar
Zrušiť
Mani

I have reset my admin password and it workd

Avatar
Best Answer

Often this error is a matter of checking that the Master Password entered in the Create Database step matches the admin_passwd in your odoo-server.conf file. Any chance that your browser or a password management tool is changing the password as you enter it for the new database creation?

7
Avatar
Zrušiť
Avatar
Mohamed Tassisto
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. 

2
Avatar
Zrušiť
Avatar
Azeez Arayemi
Best Answer

I had the same error recently.


The issue was that my browers automatically changed my master password upon registration... just edit it back to the correct one in odoo.config (its usually inside the odoo file) and you're good to go...


PS: you may be required to give the user admin privilege to edit odoo.config

0
Avatar
Zrušiť
Avatar
Awdang Aziz
Best Answer

please check the folder permission in Windows. In Linux, you must check admin_passwd.

0
Avatar
Zrušiť
Avatar
Syed Owais Noor
Best Answer

Check your Master Password as it's the same that you have created or not.

0
Avatar
Zrušiť
Avatar
Hache_raw
Best Answer

I have no karma to do anything but comment... It's 2023 and I faced this same error... 

Brian's anwer was the solution:  https://www.odoo.com/forum/ayuda-1/database-creation-error-access-denied-105200#comment_forum_post_105221

0
Avatar
Zrušiť
Avatar
Arthur
Best Answer

  have you tried the password "admin" ?  

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now