trouble installing VB (data base)

Discussion in 'MySQL' started by web-rover, Aug 20, 2005.

  1. #1
    i'm istalling a vb fourm on Network solutions server, and i can't get past step 2

    Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /data/4/0/19/54/345706/user/352091/htdocs/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.

    here is what i have in my config file

    // 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 = 'deanforum';
    $dbpassword = 'xxxxx';

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


    i'm use to cpanel lol
     
    web-rover, Aug 20, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    It's a permissions issue with MySQL. I would contact your hosting provider and just confirm your MySQL login/password (it's not necessarily the same as your "normal" login/password).
     
    digitalpoint, Aug 20, 2005 IP
  3. web-rover

    web-rover Peon

    Messages:
    1,341
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #3
    arghhhh

    i have and theer giving me the go around


    thanks shawn.
     
    web-rover, Aug 20, 2005 IP
  4. explorer

    explorer Well-Known Member

    Messages:
    463
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Hi Web Rover, I had a similar issue. If I remember rightly I created a new username and password in MySQL and then gave the new username access to the DB.
     
    explorer, Aug 20, 2005 IP
  5. web-rover

    web-rover Peon

    Messages:
    1,341
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #5
    wee you using Network Solutions?

    how did you give the username access to the DB?
     
    web-rover, Aug 20, 2005 IP
  6. explorer

    explorer Well-Known Member

    Messages:
    463
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    110
    #6
    No.


    Click MySQL Databases in cPanel.

    Scroll down until you get to the Create MySQL User button.

    Above this, enter a username and password, then create.

    Further up the page, with the Grant Permissions button you can give the new user all privileges in whichever database you want to.
     
    explorer, Aug 20, 2005 IP
  7. web-rover

    web-rover Peon

    Messages:
    1,341
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #7
    this host does not provide cpanel

    networksolutons.com
     
    web-rover, Aug 20, 2005 IP
  8. explorer

    explorer Well-Known Member

    Messages:
    463
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    110
    #8
    Ah - sorry.
     
    explorer, Aug 20, 2005 IP
  9. markkk

    markkk Well-Known Member

    Messages:
    1,143
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    140
    #9
    if I were you.. I'll do it with combination of PHP in entering your data in your mysql database.:)
     
    markkk, Aug 22, 2005 IP
  10. gamit sudhir

    gamit sudhir Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    here you update your config file

    // If you are unsure of what to put here, leave it at the default value.
    $servername = 'localhost'; instandof $servername='175.1.1.3' your ip address.

    // ****** DATABASE USERNAME & PASSWORD ******
    // This is the username and password you use to access MySQL.
    // These must be obtained through your webhost.
    $dbusername = 'deanforum'; check username/password correct or wrong
    $dbpassword = 'xxxxx';

    // ****** DATABASE NAME ******
    // This is the name of the database where your vBulletin will be located.
    // This must be created by your webhost.
    $dbname = 'deanforum';
    $defaultdbname='deanforum'; this is used for checking your database name is it write/wrong.
     
    gamit sudhir, Jul 10, 2010 IP
  11. meyrheena

    meyrheena Member

    Messages:
    134
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #11
    problem Msql guys
    try check
     
    meyrheena, Jul 11, 2010 IP