Page 1 of 1

Setting up config.php

Posted: Sun Aug 17, 2014 5:38 pm
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.

Re: Setting up config.php

Posted: Tue Aug 19, 2014 1:03 am
by shane
try using

$nuConfigDBHost = "127.0.0.1";

or

$nuConfigDBHost = "localhost";

Re: Setting up config.php

Posted: Tue Aug 19, 2014 11:55 pm
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