i'm istalling a vb fourm on Network solutions server, and i can't get past step 2 Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /data/4/0/19/54/345706/user/352091/htdocs/includes/db_mysql.php on line 140 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. here is what i have in my config file // If you are unsure of what to put here, leave it at the default value. $servername = 'localhost'; // ****** DATABASE USERNAME & PASSWORD ****** // This is the username and password you use to access MySQL. // These must be obtained through your webhost. $dbusername = 'deanforum'; $dbpassword = 'xxxxx'; // ****** DATABASE NAME ****** // This is the name of the database where your vBulletin will be located. // This must be created by your webhost. $dbname = 'deanforum'; i'm use to cpanel lol
It's a permissions issue with MySQL. I would contact your hosting provider and just confirm your MySQL login/password (it's not necessarily the same as your "normal" login/password).
Hi Web Rover, I had a similar issue. If I remember rightly I created a new username and password in MySQL and then gave the new username access to the DB.
No. Click MySQL Databases in cPanel. Scroll down until you get to the Create MySQL User button. Above this, enter a username and password, then create. Further up the page, with the Grant Permissions button you can give the new user all privileges in whichever database you want to.
here you update your config file // If you are unsure of what to put here, leave it at the default value. $servername = 'localhost'; instandof $servername='175.1.1.3' your ip address. // ****** DATABASE USERNAME & PASSWORD ****** // This is the username and password you use to access MySQL. // These must be obtained through your webhost. $dbusername = 'deanforum'; check username/password correct or wrong $dbpassword = 'xxxxx'; // ****** DATABASE NAME ****** // This is the name of the database where your vBulletin will be located. // This must be created by your webhost. $dbname = 'deanforum'; $defaultdbname='deanforum'; this is used for checking your database name is it write/wrong.