콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
15566 화면

How can I change the name of my database. Can I do this without programming?

아바타
취소

... using postgresql: "ALTER DATABASE name RENAME TO newname"

NEVER DO THIS !!!

I try it and reach serious pb with server after that : no one of existing databases correctly load and work !

Seems that theme management if broken, at least...

Use only the web function "duplicate" or "backup" then "restore to an other name

베스트 답변

Hello, using postgresql: "ALTER DATABASE name RENAME TO newname" or you can duplicate the database with a new name in the database options, login screen.

아바타
취소

Make sure you shut down the OpenERP server first if you use the ALTER DATABASE option.

작성자

Thank you very much for the information, I'l try this.

Hello, using postgresql: "ALTER DATABASE name RENAME TO newname"

베스트 답변

If you change the database name, you have to rename its filestore too. So you can do the following:
1. Stop the Odoo server. 

2.Log in to postgres and alter database name "ALTER DATABASE name RENAME TO newname"

3. Rename the filestore from old database name to new database name.

4. Restart Odoo server.

That should do it.

아바타
취소
관련 게시물 답글 화면 활동
1
6월 24
3610
1
3월 15
8005
0
7월 25
1553
2
11월 24
6610
2
10월 24
3540