Database Step 2 Install Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anonymous999
    Senior Member
    • Aug 2005
    • 207
    • 4.1.x

    Database Step 2 Install Error

    Hi

    I am getting

    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


    MySql is 4.1.x
    php is ver 5
    (just waiting for them to confirm exact versions)

    My config.php is correct

    $servername = 'localhost';

    $dbusername = 'boXX3_cwlfke;
    $dbpassword = 'xxxxxxxxxxx';

    $dbname = 'boXX3_bad123456';

    My host is definatley 'localhost'

    I have made a new mysql database in cpanel named bad123456 which shows in mysql as "boXX3_bad123456"

    I have added the user with the password and given all priveleges

    My host is lunarpages.com

    I am at a loss ?
    Last edited by Zachery; Sat 13 Aug '05, 3:15am.
  • Anonymous999
    Senior Member
    • Aug 2005
    • 207
    • 4.1.x

    #2
    Ok i fixed it

    The password in config.php

    needs to be

    $dbpassword = 'xxxxxx';

    This is without your username prefix!

    This wasnt clear or i am a fool!
    Last edited by Zachery; Sat 13 Aug '05, 3:15am.

    Comment

    • Zachery
      Former vBulletin Support
      • Jul 2002
      • 59097

      #3
      Removed your passwords

      Depending on your host setup will depends on how all of that info looks.

      Comment

      • raylan
        New Member
        • Jun 2008
        • 1
        • 3.6.x

        #4
        We are migrating our hoster to lunarpages and at present I have same problem . Some one can say me what was the differente betwen both passwords?

        Comment

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