vbulletin connect to database

Status
Niet open voor verdere reacties.

larscapaldi

Gebruiker
Lid geworden
24 jan 2007
Berichten
10
Heb al heel de dag een probleem met het installeren van vbulletin en kan op geen enkele site een oplossing vinden


Code:
Step 2) Connect to the database 

Attempting to attach to database 

Error description: mysql_connect() [function.mysql-connect]: Access denied for user 'vb_user'@'localhost' (using password: YES) /home/chiroi00/domains/chiroinstuif.be/public_html/forum/includes/class_core.php on line 272 

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.


volgens mij een probleem met de config file, maar wat moet er net aangepast worden?

Code:
<?php 
/*======================================================================*\ 
|| #################################################################### || 
|| # vBulletin 3.6.7 -Nulled by NiGHTNiNG 
|| # ---------------------------------------------------------------- # || 
|| # All PHP code in this file is ©2000-2007 Jelsoft Enterprises Ltd. # || 
|| # This file may not be redistributed in whole or significant part. # || 
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || 
|| #################################################################### || 
\*======================================================================*/ 

/*-------------------------------------------------------*\ 
| ****** 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 TYPE ****** 
   //   This is the type of the database server on which your vBulletin database will be located. 
   //   Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+ 
   // for slave options just append _slave to your preferred database type. 
$config['Database']['dbtype'] = 'mysql'; 

   //   ****** 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'] = 'vb_database'; 

   //   ****** TABLE PREFIX ****** 
   //   Prefix that your vBulletin tables have in the database. 
$config['Database']['tableprefix'] = 'vb'; 

   //   ****** 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. 
$config['Database']['technicalemail'] = '**************'; 

   //   ****** FORCE EMPTY SQL MODE ****** 
   // New versions of MySQL (4.1+) have introduced some behaviors that are 
   // incompatible with vBulletin. Setting this value to "true" disables those 
   // behaviors. You only need to modify this value if vBulletin recommends it. 
$config['Database']['force_sql_mode'] = false; 



   //   ****** 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'] = 'localhost'; 
$config['MasterServer']['port'] = 3306; 

   //   ****** MASTER DATABASE USERNAME & PASSWORD ****** 
   //   This is the username and password you use to access MySQL. 
   //   These must be obtained through your webhost. 
$config['MasterServer']['username'] = 'vb_user'; 
$config['MasterServer']['password'] = '***'; 

   //   ****** MASTER DATABASE 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) 
$config['MasterServer']['usepconnect'] = 0; 



   //   ****** SLAVE DATABASE CONFIGURATION ****** 
   //   If you have multiple database backends, this is the information for your slave 
   //   server. If you are not 100% sure you need to fill in this information, 
   //   do not change any of the values here. 
$config['SlaveServer']['servername'] = ''; 
$config['SlaveServer']['port'] = 3306; 
$config['SlaveServer']['username'] = ''; 
$config['SlaveServer']['password'] = ''; 
$config['SlaveServer']['usepconnect'] = 0;

iemand een idee?
Dank bij voorbaat,
Lars
 
MySQL server aanstaan?
Tabel aangemaakt?
User aanwezig met rechten tot die tabel?

Als het goed is moet je naar een bestandje install.php die werkt je door de installatie en geeft ook (Meer menselijkere) errors gok ik.
 
tabel is aangemaakt (noemt db.opt) en ook een user met alle toegangsrechten (vb_user)

of hij aanstaat weet ik niet, maar ik vroeg me af of de database misschien op de website moet staan (staat nu op m'n computer)
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan