Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6225 Widoki

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? 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 23
2623
0
wrz 19
4713
0
lut 25
1567
2
sty 25
8174
2
sty 24
10138