PDA

View Full Version : Help - cant get installed!!



Mark Acumen
Tue 22nd Jan '08, 12:12pm
I've FTPed everything, but when I try to run the install.php steps I get the following error message:

Attempting to attach to database
Error description: mysql_connect(): Access denied for user 'discussion'@'web15.hosting365.ie' (using password: YES) /hsphere/local/home/discussion/actuariesandconsultants.com/forums/includes/class_core.php on line 274
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.

In the config file I made the following changes:

1. I created an SQL database in my domain server control panel and have put the name of the database along with $config['Database']['dbname']

2. I have added my email address, username and password (that I use to get into my webserver's control panel) in the areas where it was requested.

Can anyone help??

Thanks

Chalz
Tue 22nd Jan '08, 1:09pm
I don't know about anyone else, but my database has a different name and password than the hosting control panel log in. Double check these things. Database name, Database password and database location, IE 'localhost' or whatever it is on your host.

double check your config.php

$config['Database']['dbname'] = 'DB name goes here';

$config['MasterServer']['servername'] = 'location here';

$config['MasterServer']['username'] = 'DB user name here';
$config['MasterServer']['password'] = 'DB password here';

b@by41
Tue 22nd Jan '08, 1:39pm
I don't know about anyone else, but my database has a different name and password than the hosting control panel log in. Double check these things. Database name, Database password and database location, IE 'localhost' or whatever it is on your host.

double check your config.php

$config['Database']['dbname'] = 'DB name goes here';

$config['MasterServer']['servername'] = 'location here';

$config['MasterServer']['username'] = 'DB user name here';
$config['MasterServer']['password'] = 'DB password here';

Like Chalz have said it you need to insert the database name and database user and password that you have created with phpMyAdmin:

$config['Database']['dbname'] = 'DB name goes here'; <=== Database name created by you
$config['MasterServer']['servername'] = 'location here'; <== Normaly "localhost"
$config['MasterServer']['username'] = 'DB user name here'; <== Database user created by you
$config['MasterServer']['password'] = 'DB password here'; <=== Password created by you

If you need any help and want me to do it drop me a PM.

ringleader
Wed 20th Feb '08, 11:33am
This is a little late, but if anyone finds this as I did through google they'll want to know the solution for it:

In config.php, the servername (instead of the usual 'localhost') should be wherever your phpMyAdmin is stored, e.g.

$config['MasterServer']['servername'] = 'sql6.hosting365.ie';