Skip to Content
Menu
This question has been flagged
1 Reply
8530 Views

Hello...

I have installed OpenERP in my own server running CentOS. I have configured it and all is perfect, but I have installed the database without demo data.

Is it possible to create another database with demo data and to allow me to choose which database to load when I connect to the server? what is your advice with respect on this?

Notice that I don't want user to be able to change the database to work with, so I will not show the database combobox that appears at logon screen.

Regards, Jaime

Avatar
Discard
Best Answer

The answer is yes. Just use the manage database link on login page.

image description

When you have multiple databases, you will have a list shown on top right.

Avatar
Discard
Author

Thanks, but I don't want the user to make the choice.

For example, if I create 2 subdomains, one http://myerp.domain.com and another http://demoerp.domain.com.

I want that when entering myerp.domain.com:8069, myerp database will be used automatically. On the other hand, when entering demoerp.domain.com:8069, demoerp should be used.

Logon screen will not show either databases dropdown list, or manage databases link.

Regards, Jaime

As Yannick Vaucher said, this is the default functionality, you can work with multiple data bases on a single server. The way you want to do this, is the same as if you have only one database running. I am not sure how are you planning on doing this, without the logon screen, how are managing to access the system, even with a single db?

@Jaime See the Olivier's answer in how-do-i-use-openerp-with-multiple-domains-on-single-server/ This should gives you some hints.

Author

Thanks Yannick! it worked!