Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6223 Lượt xem

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? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 23
2623
0
thg 9 19
4712
0
thg 2 25
1567
2
thg 1 25
8172
2
thg 1 24
10138