Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Cannot setup database with a different name than nubuilder4

Questions related to installing, updating, setting up and configuring
Post Reply
yvesf
Posts: 212
Joined: Sun Mar 14, 2021 8:48 am
nuBuilder Version: 4.5
Location: Geneva

Cannot setup database with a different name than nubuilder4

Unread post by yvesf »

When you install nubuilder, the database name has to be nubuilder4 even it's written you can change the name. I have created a database called nu, change in the nuconfig.php as following :
// Database Settings:
$nuConfigDBHost = "127.0.0.1"; //-- Database Host / IP
$nuConfigDBName = "nu"; //-- Database Name. You can change the name, if desired. The database must exist or must be created on your server.
$nuConfigDBUser = "root"; //-- Database User. Change the user, if desired. The user must exist or must be created.
$nuConfigDBPassword = ""; //-- Database Password. We recommend you to use any strong password.

// Administrator Login:
$nuConfigDBGlobeadminUsername = "globeadmin"; //-- globeadmin username. You can choose any username you like.
$nuConfigDBGlobeadminPassword = "nu"; //-- globeadmin password. Please choose a stronger password!

// Settings:
$nuConfigTitle = "nuBuilder 4"; //-- nuBuilder Title
$nuConfigTimeOut = 1440; //-- Session Timeout. Default: 1440 (24h)
$nuConfigIsDemo = false; //-- Demo mode. Saving not permitted.

And it doesn't work. You have the following message :
Connection failed: SQLSTATE[HY000] [1049] Base 'nubuilder4' unknown
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Cannot setup database with a different name than nubuild

Unread post by kev1n »

Hi,

You can use any database name.
Did you do that "Important Note: You must restart your browser after modifying nuconfig.php in order for changes to be reflected "
Post Reply