I set up a "sample" database and added a user "brian" with full permissions.
following is what I entered into my config.php file
<?php
$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "sample";
$nuConfigDBUser = "brian";
$nuConfigDBPassword = "password";
$nuConfigDBGlobeadminPassword = "password"; //-- globeadmin password
$nuConfigtitle = "site_c";
//$nuConfigSafeMode = true;
//$nuConfigSafePHP = array('52c0da99b95c264','530a8f8e78111c4','nudebug','nuformsandsubforms','nuformwizard','nuimage','nuobject','nuobject','nureport','nusubformwizard','nuuser');
?>
I have tried changing the dbhost to the ip address of the website as shown in Cpanel. I have tried changing the dbuser to root, with password of root. among several other attempts. all result in the
It appears your database server is not configured,
please enter a mysql database name, user name
and password into your config.php file.
Have I missed a step or am I misunderstanding the steps of adding a database?
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
database not configured on install
-
- Posts: 4
- Joined: Tue Jan 27, 2015 3:27 pm
Re: database not configured on install
I changed the dbhost setting to localhost and it worked.
Now I need to get past the login screen. The username and password that I had set don't work for some reason.
Now I need to get past the login screen. The username and password that I had set don't work for some reason.
-
- Posts: 4
- Joined: Tue Jan 27, 2015 3:27 pm
Re: database not configured on install
when I enter those in config.php I get the original message
So I tried to go into MySQL and add root as a user and password and it won't let me because the password needs to be 5 characters long.It appears your database server is not configured,
please enter a mysql database name, user name
and password into your config.php file.
-
- Posts: 4
- Joined: Tue Jan 27, 2015 3:27 pm
Re: database not configured on install
I just logged in as globeadmin and now it worked. Sorry, I didn't catch that in the install instructions.