Error at step 2 (config.php)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • +sevil+
    New Member
    • Nov 2004
    • 3
    • 3.0.3

    Error at step 2 (config.php)

    I am have a lot of trouble installing vB. I have tryed for the lst few days and am starting to get really frustrated. Please soemone help me.

    When I start to run the installation, it errors on at the begining of step 2 and I get the following:

    Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/content/S/E/V/SEVIL/html/php_uploads/upload/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.
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Can you paste the contents of your config.php here without the header and footer bit?

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #3
      This error means either:

      1. One or more of the following is wrong in your config.php file:

      $servername (except in rare case, this should almost always be left as 'localhost')
      $dbusername
      $dbpassword
      $dbname

      If you are unsure of what the appropriate values are then you will need to ask your web host.

      2. Or that this db user is not assigned to that database or does not have permission to access MySQL to create or access a database. You may need to first manually create the database and assign the db user to it. Since each web host is different, if you do not know how to do this then contact your web host for help.
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...