Welcome to the nuBuilder forums!

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

Setting up config.php

Post Reply
SteveFerry
Posts: 2
Joined: Sun Aug 17, 2014 5:25 pm

Setting up config.php

Unread post by SteveFerry »

Hi, I have today downloaded NuBuilder. I use iPage to host my website. I went onto iPage's MySQL section and set up a database. The database name is baart. I have set up a user and admin password. On the MqSQL section of iPage, it reports the following - Server Name: efftekukcom.ipagemysql.com.

I edited the config.php file and put the DBHost as efftekukcom.ipagemysql.com, the DBName as baart, and entered the DBUser and DBPassword I had created.

The sext step of the installation instructions is

6.Run the nuBuilder install link

http://{yourwebserver}/nubuilder/nuinstall.php

and I get the following message

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'efftekukcom.ipagemysql.com ' (1) in /hermes/bosnaweb07a/b2351/ipg.efftekukcom/vibracloud/nubuilder/nuinstall_lib.php on line 53

I have also tried adding www and http:// in front of the server name and got the same error. Where am I going wrong

Regards, Steve.
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Setting up config.php

Unread post by shane »

try using

$nuConfigDBHost = "127.0.0.1";

or

$nuConfigDBHost = "localhost";
SteveFerry
Posts: 2
Joined: Sun Aug 17, 2014 5:25 pm

Re: Setting up config.php

Unread post by SteveFerry »

Hi Shane, I changed the $nuConfigDBHost to "localhost"; as suggested and the original error no longer appears but I still get the following;

It appears your database server is not configured,
please enter a mysql database name, user name
and password into your config.php file

Any more advice?

Cheers, Steve
Post Reply