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?
Этот вопрос был отмечен
1
Ответить
8624
Представления
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
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
0
янв. 23
|
2623 | ||
|
|
0
сент. 19
|
7045 | ||
|
|
0
февр. 25
|
4580 | ||
|
|
2
янв. 25
|
12876 | ||
|
|
2
янв. 24
|
10140 |