PDA

View Full Version : vB MySQL



:Blob
29-05-2005, 08:10 PM
Ok, trying to install, step 2:

vBulletin 3.0 Install Script
(Please be patient as some parts may take some time)

Step 2) Connect to the database (Step 2 of 13)

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/raddicts/public_html/vbulletin/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.

What shall I do?

BlueTails
29-05-2005, 09:35 PM
Ryan, I Got Rid Of 1 Error! Hooray! :D GO GO GO ME! :D

1 To Go...

The-wisher
29-05-2005, 10:05 PM
you need to set database settings.
chmod config.php file
then refresh it.

Motorollo
29-05-2005, 10:06 PM
check ur mysql database stuff re insert it and delete the old 1 and upload it again

zainx
29-05-2005, 10:31 PM
make sure al ur settings are correct, i just changed hosts beacuse my old 1 i had a reseller and he wudnt let me host people lol, so i changed and i got my new hosting to restore my database , but they sed that my files where missing somethings, so make sure ur config.php has everry thing changed and go to the bottom where it says superadmin and in between the ' ' put a 1

:Blob
30-05-2005, 09:37 AM
What do I CHMOD the file congif.php to?

zainx
30-05-2005, 09:47 AM
:s u dont need to chmodd it, read the installtion file

:Blob
30-05-2005, 09:49 AM
This is the mySQL part of the config.php file i need help with, (License EDITED OUT)
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.0.7 - Licence Number L*******
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2005 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ################################################## ################## ||
\*================================================ ======================*/

/*-------------------------------------------------------*\
| ****** 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 HOST:PORT. If no PORT is specified, 3306 is used.
// 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 = 'raddicts_Dunko'
$dbpassword = 'MySQL Pass edited out;

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

zainx
30-05-2005, 10:11 AM
well i see 1 thing wrong but u may of deleted it when u was deleteing pass but

// ****** DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$dbusername = 'raddicts_Dunko'
$dbpassword = 'MySQL Pass edited out; <-------- u need to add a ' so its 'MySQL Pass edited out';

:Blob
30-05-2005, 10:17 AM
ait

I edited it out on here and deleted the '

zainx
30-05-2005, 10:20 AM
i suggest doin wot it says here then

/*-------------------------------------------------------*\
| ****** 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. |
\*-------------------------------------------------------*/

contact ur host

Luckyrare
30-05-2005, 07:12 PM
I have a Idea, On the Config file make sure there is No Spare Lines at the bottom, remove them all untill it comes to the writing :)

Want to hide these adverts? Register an account for free!