•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 374,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,845 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 6844 | Replies: 9
![]() |
•
•
Join Date: May 2004
Location: Boston,MA
Posts: 1,359
Reputation:
Rep Power: 7
Solved Threads: 16
when installing vbulletin this error message comes up
"Step 2) Connect to the database
Attempting to attach to database
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/willpull/public_html/Vbulletin/files/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."
"Step 2) Connect to the database
Attempting to attach to database
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/willpull/public_html/Vbulletin/files/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."
•
•
Join Date: Sep 2004
Location: NJ
Posts: 20
Reputation:
Rep Power: 4
Solved Threads: 0
Is the mysql server located on the same server as the site? Also if you could post your config.php file here but make sure and take out the username and password fields.
Chris
Radical Vision, LLC High Velocity Hosting Services - Since 1999
FreeBSD, Linux, and Windows 2003 Hosting - Automated Reseller Plans
New Jersey IDC ~ Hsphere ~ Cluster Environment!
Radical Vision, LLC High Velocity Hosting Services - Since 1999
FreeBSD, Linux, and Windows 2003 Hosting - Automated Reseller Plans
New Jersey IDC ~ Hsphere ~ Cluster Environment!
•
•
Join Date: May 2004
Location: Boston,MA
Posts: 1,359
Reputation:
Rep Power: 7
Solved Threads: 16
sorry it took me so long to respond
•
•
•
•
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.0.3
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2004 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # Nullified by WDYL-WTN Team # ||
|| #################################################################### ||
\*======================================================================*/
/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to |
| MySQL, you will need to email your webhost because we |
| cannot tell you the correct values for the variables |
| in this file. |
\*-------------------------------------------------------*/
// ****** DATABASE SERVER NAME ******
// This is the hostname or IP address of the database server.
// It is in the format HOSTORT. If no PORT is specified, 3306 is used.
// If you are unsure of what to put here, leave it at the default value.
$servername = 'http://willpull22.remnetworks.com:2082';
// ****** DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$dbusername = 'root';
$dbpassword = '';
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$dbname = 'forum';
// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$technicalemail = 'dbmaster@example.com';
// ****** PERSISTENT CONNECTIONS ******
// This option allows you to turn persistent connections to MySQL on or off.
// The difference in performance is negligible for all but the largest boards.
// If you are unsure what this should be, leave it off.
// 0 = Off; 1 = On
$usepconnect = 0;
// ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
// This setting allows you to change the name of the folders that the admin and
// moderator control panels reside in. You may wish to do this for security purposes.
// Please note that if you change the name of the directory here, you will still need
// to manually change the name of the directory on the server.
$admincpdir = 'admincp';
$modcpdir = 'modcp';
// ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
// The users specified here will be allowed to view the admin log in the control panel.
// Users must be specified by *ID number* here. To obtain a user's ID number,
// view their profile via the control panel. If this is a new installation, leave
// the first user created will have a user ID of 1. Seperate each userid with a comma.
$canviewadminlog = '1';
// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
// The users specified here will be allowed to remove ("prune") entries from the admin
// log. See the above entry for more information on the format.
$canpruneadminlog = '1';
// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$canrunqueries = '';
// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$undeletableusers = '';
// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$superadministrators = '';
// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = 'vb3_';
$tableprefix = '';
// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'bb';
/*======================================================================*\
|| ####################################################################
|| # Supplied/Nullified/Tested/Packaged by WDYL-WTN Team
|| # CVS: $RCSfile: config.php.new,v $ - $Revision: 1.19 $
|| ####################################################################
\*======================================================================*/
?>
•
•
Join Date: Sep 2004
Location: NJ
Posts: 20
Reputation:
Rep Power: 4
Solved Threads: 0
Ok I see your problem.... since you are using Cpanel your mysql server is probably the same server as your web server so change:
$servername = 'http://willpull22.remnetworks.com:2082';
to
$servername = 'localhost';
Now if you were on a cluster system and your mysql server was seperate from your web server then it would look likt this:
$servername = 'mysql.yourmysqlserver.com';
$servername = 'http://willpull22.remnetworks.com:2082';
to
$servername = 'localhost';
Now if you were on a cluster system and your mysql server was seperate from your web server then it would look likt this:
$servername = 'mysql.yourmysqlserver.com';
Chris
Radical Vision, LLC High Velocity Hosting Services - Since 1999
FreeBSD, Linux, and Windows 2003 Hosting - Automated Reseller Plans
New Jersey IDC ~ Hsphere ~ Cluster Environment!
Radical Vision, LLC High Velocity Hosting Services - Since 1999
FreeBSD, Linux, and Windows 2003 Hosting - Automated Reseller Plans
New Jersey IDC ~ Hsphere ~ Cluster Environment!
•
•
Join Date: May 2004
Location: Boston,MA
Posts: 1,359
Reputation:
Rep Power: 7
Solved Threads: 16
hey thanks i will try it out
but do i need to setup another mysql database or will the install do it for me.
but do i need to setup another mysql database or will the install do it for me.
•
•
Join Date: May 2004
Location: Boston,MA
Posts: 1,359
Reputation:
Rep Power: 7
Solved Threads: 16
it didnt work
can i trust you enough to grant you access to my files and do it for me.
can i trust you enough to grant you access to my files and do it for me.
•
•
Join Date: May 2004
Location: Boston,MA
Posts: 1,359
Reputation:
Rep Power: 7
Solved Threads: 16
i could i also setup a database through the microsoft sql server i have on my computer. As you can see i have a subdomain and a person here (bluzman32) is letting my site be hosted for free on his. I also have postgres sql.
•
•
Join Date: Jan 2005
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Originally Posted by mikeandike22
when installing vbulletin this error message comes up
"Step 2) Connect to the database
Attempting to attach to database
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/willpull/public_html/Vbulletin/files/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."
vBulletin is not a free program and we take piracy very serriously, If you need vBulletin support please ask at vBulletin.com
Firefox: no, its not the end all solution, it has its own issues and in time it will be just as insecure as IE, when its hit Firefox 6, if it makes it that far. Oh, and AOL pays for it, incase you didn't know.
Microsoft & Windows: If you hate it so much, move to linux, or bsd, or anything else, stop complaning and move on.
Good starting places: Gentoo Novell SUSE Fedora Core Apple
Microsoft & Windows: If you hate it so much, move to linux, or bsd, or anything else, stop complaning and move on.
Good starting places: Gentoo Novell SUSE Fedora Core Apple
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation:
Rep Power: 32
Solved Threads: 109
Just to clarify Zachary, the line:
|| # Nullified by WDYL-WTN Team # ||
in the file that mikeandike posted represents a piracy team and, hence, an illegal version of vBulletin.
|| # Nullified by WDYL-WTN Team # ||
in the file that mikeandike posted represents a piracy team and, hence, an illegal version of vBulletin.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Database Design Marketplace
- I Need Help Installing Vbulletin (MySQL)
Other Threads in the Database Design Forum
- Previous Thread: Need to know how to create a database that will generate a random number
- Next Thread: Questions about sequence diaram in Rational Rose


ORT. If no PORT is specified, 3306 is used.
Linear Mode