Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
14437 Visualizzazioni

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

Avatar
Abbandona

... 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

Risposta migliore

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.

Avatar
Abbandona

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

Autore

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

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

Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 24
2343
1
mar 15
7429
0
feb 25
652
2
nov 24
4627
2
ott 24
1888