Installing Nubuilder in a hosting domain

Installing Nubuilder in a hosting domain

Postby thunderpedro » Mon Mar 01, 2010 9:54 am

Hi!

I have a domain at fastdomain, [...], where i have installed the nubuilder.

I followed the instrutions on the wiki and created the databases. At the point i get the nubuilder login page for the sample, Sample Debtors and the setup nuBuilder as you can check. But i always get the error "Could not connect to database" or at the setup "Could not could not establish MySQL connection..."

I think that the problem is related to Path to SQL file... but i am not very experient.

Any similar issues or clue to this problem?

Thank you very much.

Pedro
thunderpedro
 
Posts: 1
Joined: Thu Feb 25, 2010 7:25 am

Re: Installing Nubuilder in a hosting domain

Postby michael » Wed Mar 03, 2010 8:43 am

Hi Pedro,

The "could not connect to database" and "could not establish MySQL connection" errors are normally due to a MySQL username/password or username/database privilege configuration issue. Also, shared hosting accounts such as FastDomain generally create MySQL users with the account name as a prefix. For example, if you account name is ligao7729 and you create a MySQL user called nubuilder, the actual MySQL username will be ligao7729_nubuilder. Then for nuBuilder to work properly, ligao7729_nubuilder needs to be grant all privileges on ligao7729_sample, for example.

I noticed the "Path to SQL file" field is showing up blank for both of the sample sites which get installed with nuBuilder. If these are blank the setup script will not be able to initialize the databases for nuBuilder. Are the files still present in the nuBuilder directory wwwroot? They should be in the same directory as setup.php.

Michael
michael
 
Posts: 39
Joined: Mon Jun 15, 2009 5:20 pm

Re: Installing Nubuilder in a hosting domain

Postby admin » Wed Mar 03, 2010 9:02 am

Hi Pedro,

I have just edited your original post to remove the link to your website because there was a visible link to the setup script which contains passwords. You may want to consider changing your accounts passwords (databases included) just to be on the safe side.

Michael
admin
Site Admin
 
Posts: 7
Joined: Mon Jun 15, 2009 9:53 am


Return to Installation



cron