How create a second database on the same server

Questions related to using nuBuilder Forte.

How create a second database on the same server

Postby philippe48 » Sun May 12, 2019 11:43 pm

I created a nubuilder4 database. Is it possible to manage, on the same server, another database totally independent of the first one? if so, how should it proceed ? Thank you for your suggestions
philippe48
 
Posts: 3
Joined: Mon May 06, 2019 10:42 pm

Re: How create a second database on the same server

Postby kev1n » Sun May 12, 2019 11:51 pm

Hi,

Yes, you can have as many installations on the same server as you want. All you need to do is copy the nuBuilder Forte files into a new/different directory on your server.
Then create a new DB database and ppdate the variables in nuconfig.php.
kev1n
 
Posts: 162
Joined: Mon Oct 15, 2018 2:13 am

Re: How create a second database on the same server

Postby philippe48 » Mon May 13, 2019 12:38 am

Thanks for your quick feedback. It works ! But I have to erase each time the cache of chrome when I change site, otherwise I continue to use the previous site ....

For example


I have the same problem with Edge.....
Same problem on my smartphone (Android).....


I confirm that these are the good index.php that open (to verify, I have included in each file a different message)
philippe48
 
Posts: 3
Joined: Mon May 06, 2019 10:42 pm

Re: How create a second database on the same server

Postby kev1n » Mon May 13, 2019 3:42 pm

No issues here with multiple nuBuilder installations on the same server:

1st Installation:

Directory on Server:
127.0.0.1/nuBuilderA/

nuconfig.php:
$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "nuBuilderA";


2nd Installation:

Directory on Server:
127.0.0.1/nuBuilderB/

nuconfig.php:
$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "nuBuilderB";
kev1n
 
Posts: 162
Joined: Mon Oct 15, 2018 2:13 am

Re: How create a second database on the same server

Postby philippe48 » Tue May 14, 2019 3:26 am

Have you an idea why I have this problem. Nubuilder is installed on a Lemp server (nginx - mariadb - raspberry 3)?

I have installed nuBuilder on a Apache Server : always the same problem :(
philippe48
 
Posts: 3
Joined: Mon May 06, 2019 10:42 pm


Return to General