Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6103 Visualizações

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? 

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jan. 23
2623
0
set. 19
4591
0
fev. 25
1373
2
jan. 25
7844
2
jan. 24
10137