Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
15263 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
черв. 24
3230
1
бер. 15
7810
0
лип. 25
1303
2
лист. 24
5973
2
жовт. 24
3001