Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

How create a second database on the same server

Questions related to using nuBuilder Forte.
Post Reply
philippe48
Posts: 3
Joined: Mon May 06, 2019 3:12 pm

How create a second database on the same server

Unread post by philippe48 »

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
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: How create a second database on the same server

Unread post by kev1n »

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.
philippe48
Posts: 3
Joined: Mon May 06, 2019 3:12 pm

Re: How create a second database on the same server

Unread post by philippe48 »

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)
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: How create a second database on the same server

Unread post by kev1n »

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";
philippe48
Posts: 3
Joined: Mon May 06, 2019 3:12 pm

Re: How create a second database on the same server

Unread post by philippe48 »

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 :(
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: How create a second database on the same server

Unread post by gerese »

To me installed on WAMP works as philippe48 says.
Perhaps the session is not destroyed by the Logout.
philippe48 wrote: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)
nuBuilderForte .... BIG Like !!!
Post Reply