In the docker-compose file I declared the name of the postgres database, ran Odoo locally for first time, and get the initial form, put the same name defined previously and get the following error:
Database creation error: database 'my_db' already exists!
But the database don't appear in the database manager.
Why can't I use it?
Diese Frage wurde gekennzeichnet
1
Antworten
8552
Ansichten
Try dropping your postgres database and recreating it.
dropdb my_db
createdb my_db
You should then be able to fill in the recreated database using your databases psql dump.
psql -d my_db -f your_database_dump_file
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
0
Jan. 23
|
2623 | ||
|
|
0
Sept. 19
|
6988 | ||
|
|
0
Feb. 25
|
4373 | ||
|
|
2
Jan. 25
|
12612 | ||
|
|
2
Jan. 24
|
10140 |