PDA

View Full Version : My config.php question....



get_nick
Sun 11th Jan '09, 2:27pm
I have gotten to step 3 of the install of my vbulletin. I get the following message.


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.

I am a noob with php, so this is pretty hard for me. If someone can review this, it would help a ton.

// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = '';

Is this my domain name. www.*******.com (http://www.*******.com)? Or is this my server host name "***.*****.com?

// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = '********';
$config['MasterServer']['port'] = 3306;

Is this the server name i added to my domain? should it be "***.*****.com"?

do i need to change the port?

// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.

Is this the user name and password setup by my server? Does the username end in .com?

mac-warez.org
Sun 11th Jan '09, 2:41pm
You don't put your domain name
in this variable
$config['Database']['dbname'] = '';

you put "your cPanel username_database name here

get_nick
Sun 11th Jan '09, 3:20pm
ok, so is the username i got from my server what goes there? ok, i changed it. i still get the following error.


Error description: mysql_connect() [function.mysql-connect (http://www.obamacies.com/Forums/install/function.mysql-connect)]: Access denied for user '*****'@'*****.***host.com' (using password: YES) /home/*****/public_html/Forums/includes/class_core.php on line 311

WEBDosser
Sun 11th Jan '09, 3:24pm
you have created a database for your forum.. yes?.

get_nick
Sun 11th Jan '09, 3:31pm
you have created a database for your forum.. yes?.
my friend that is allowing me to use his server set it up for me. but when he tells me stuff about it, i'm such a noob, it doesn't make sense. so this has been a slow process, since i have to learn as i go.

WEBDosser
Sun 11th Jan '09, 3:44pm
well you dont need to add ".com" onto any line.. you need only..

usename_dataname
password

so if your friend set it up ask him for these two and enter them in config.sys

get_nick
Sun 11th Jan '09, 4:09pm
AARRRGGHHH!!!!!

Stupid me for thinking this would be easy to set up.

I still don't know what could be wrong with it.

I still get this error.

Error description: mysql_connect() [function.mysql-connect (http://www.obamacies.com/Forums/install/function.mysql-connect)]: Access denied for user '*****@****'@'localhost' (using password: YES) /home/***/public_html/Forums/includes/class_core.php on line 311

Steve Machol
Sun 11th Jan '09, 7:51pm
The most likely cause of this error is that the info in your config.php file is wrong or your db user does not have full permissions to this database. Please read this for all the known causes of this error:

http://www.vbulletin.com/forum/showthread.php?t=194542

get_nick
Mon 12th Jan '09, 2:43pm
I'm still having a lot of issues. is there someone/somewhere that can get on an IM program and help me?

Steve Machol
Mon 12th Jan '09, 2:46pm
We have no way of knowing what your info is. The next step is to contact your host for help with this.

get_nick
Mon 12th Jan '09, 2:54pm
We have no way of knowing what your info is. The next step is to contact your host for help with this.
Thank you for your support. I'll see what i can do.