Page 1 of 1

Install Script Won't Run...

Posted: Tue Sep 29, 2015 4:14 am
by codesrc
When I attempt to run the install script I get the error below.

Code: Select all

It appears your database server is not configured, 
please enter a mysql database name, user name
and password into your config.php file.
I'm attempting to install NBP on a shared hosting service. Below are setup info and the info I'm using in the config file (Note that I didn't actually put "My..." I put it here so my private info won't be public.):

Code: Select all

    $nuConfigDBHost                 = "localhost"; (I also tried using my shared ip address without success.)
    $nuConfigDBName                 = "MyDBName";
    $nuConfigDBUser                 = "MyBDUserName";
    $nuConfigDBPassword             = "MyDBPassword";
    $nuConfigDBGlobeadminPassword   = "testpassword";             //-- globeadmin password
    $nuConfigtitle                  = "site_a";
Web Host: [Info Removed Because Problem Solved]
cPanel Version: [Info Removed Because Problem Solved]
PHP Version: [Info Removed Because Problem Solved]
MySQL Version: [Info Removed Because Problem Solved]

Re: Install Script Won't Run...

Posted: Thu Oct 01, 2015 2:19 am
by shane
try 127.0.0.1 instead if localhost, some hosting providers require that instead

Re: Install Script Won't Run...

Posted: Thu Oct 01, 2015 5:33 am
by codesrc
shane wrote:try 127.0.0.1 instead if localhost, some hosting providers require that instead
It should have been "localhost". This was a silly mistake on my end. I forgot to give the user permissions to the db.

All is well.

Re: Install Script Won't Run...

Posted: Thu Oct 01, 2015 5:40 am
by admin
.