Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
How create a second database on the same server
-
- Posts: 3
- Joined: Mon May 06, 2019 3:12 pm
How create a second database on the same server
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
-
- 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
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.
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.
-
- Posts: 3
- Joined: Mon May 06, 2019 3:12 pm
Re: How create a second database on the same server
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
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)
For example
- http://ip/nubuilder4-master/ : the configuration of nubuilder4-master/nuconfig.php is used -> OK
http://ip/nubuilder4-archive/ : it's still the configuration of nubuilder4-master/nuconfig.php that is used -> NOK
I clear the cache of chrome
http://ip/nubuilder4-archive/ : the configuration of nubuilder4-archive/nuconfig.php is used -> OK
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)
-
- 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
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";
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";
-
- Posts: 3
- Joined: Mon May 06, 2019 3:12 pm
Re: How create a second database on the same server
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
I have installed nuBuilder on a Apache Server : always the same problem

-
- 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
To me installed on WAMP works as philippe48 says.
Perhaps the session is not destroyed by the Logout.
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.....
- http://ip/nubuilder4-master/ : the configuration of nubuilder4-master/nuconfig.php is used -> OK
http://ip/nubuilder4-archive/ : it's still the configuration of nubuilder4-master/nuconfig.php that is used -> NOK
I clear the cache of chrome
http://ip/nubuilder4-archive/ : the configuration of nubuilder4-archive/nuconfig.php is used -> OK
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 !!!