vBulletin Won't connect, any reason why?

Discussion in 'vBulletin' started by finite, Mar 28, 2008.

  1. #1
    I have installed all files... created a database, username, and password. I entered in all my values in the config.php file.

    Everytime I get to step 3 no matter what I do it says...

    Step 2) Connect to the database

    Attempting to attach to database

    Error description: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /mnt/gs01/herd04/10478/domains/tennischillout.com/html/includes/class_core.php on line 274

    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.


    Address : tennischillout.com/install/install.php

    Any help is great thanks!
     
    finite, Mar 28, 2008 IP
  2. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #2
    it's saying the database can't connect..
    You've entered the wrong db/user/pass in the config.php file ;)
     
    Brandon Sheley, Mar 28, 2008 IP
  3. FightRice

    FightRice Peon

    Messages:
    1,082
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Make sure you create the database in your cpanel or however you have to do it, and then enter the information in config.php :)
     
    FightRice, Mar 28, 2008 IP
  4. finite

    finite Well-Known Member

    Messages:
    133
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #4
    I did creat a db and usernamen and password through my host... i entered it all in correctly into the config file. Hmmm
     
    finite, Mar 29, 2008 IP
  5. ct2k7

    ct2k7 Peon

    Messages:
    457
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Does the account have read and write access/privs? The error is suggesting they don't
     
    ct2k7, Mar 29, 2008 IP
  6. Endurer

    Endurer Well-Known Member

    Messages:
    1,113
    Likes Received:
    84
    Best Answers:
    0
    Trophy Points:
    140
    #6
    I would suggest that you add username_database as your database name if you're using cPanel. For instance, your cpanel username is user and your newly created database name is vbulletin then use user_vbulletin as your database name in config.php. Also, make sure that the user has the required permissions for the database.
     
    Endurer, Mar 29, 2008 IP
  7. Shazz

    Shazz Prominent Member

    Messages:
    8,395
    Likes Received:
    453
    Best Answers:
    0
    Trophy Points:
    330
    #7
    Upload your config file through the customer area on vBulletin.com and have them take a look at it :)
     
    Shazz, Mar 29, 2008 IP
    wisdomtool likes this.
  8. BlueEew

    BlueEew Well-Known Member

    Messages:
    2,434
    Likes Received:
    79
    Best Answers:
    1
    Trophy Points:
    150
    #8
    You have made a database right?

    You need to create a database in your cpanel hosting or whatever you use. You just make a simple empty database. Then copy and paste the name of it in the config.php. :D
     
    BlueEew, Mar 31, 2008 IP
  9. yogesh sarkar

    yogesh sarkar Well-Known Member

    Messages:
    1,740
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    140
    #9
    Is the database located on the same server or on a different one and if later is the case, have you entered the server ip/name?
     
    yogesh sarkar, Apr 1, 2008 IP