Welcome to the nuBuilder forums!

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

Install Script Won't Run...

Locked
codesrc
Posts: 3
Joined: Tue Sep 29, 2015 3:49 am

Install Script Won't Run...

Unread post 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]
Last edited by codesrc on Thu Oct 01, 2015 5:34 am, edited 1 time in total.
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Install Script Won't Run...

Unread post by shane »

try 127.0.0.1 instead if localhost, some hosting providers require that instead
codesrc
Posts: 3
Joined: Tue Sep 29, 2015 3:49 am

Re: Install Script Won't Run...

Unread post 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.
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Install Script Won't Run...

Unread post by admin »

.
Locked