1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Please help, The database has failed to connect because you do not have permission t

Discussion in 'Databases' started by FARAZ HAMEED, May 12, 2009.

  1. #1
    Please help,
    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.
    FARAZ HAMEED, May 12, 2009 IP
  2. FARAZ HAMEED

    FARAZ HAMEED Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I need help.....................
    FARAZ HAMEED, May 12, 2009 IP
  3. brightknight

    brightknight Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Easy. Your config.php file has the wrong user info like the wrong user name or password.
    brightknight, May 12, 2009 IP
  4. gavo

    gavo Active Member

    Messages:
    123
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    70
    #4
    it could also be when you added the user to the database you didnt give the user permissions to use it.

    if the config.php is correct go and remove the user from the database & then re-add it making sure you give it full permissions to use the database
    gavo, May 13, 2009 IP
  5. .htaccess

    .htaccess Peon

    Messages:
    278
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Edit the "Config.php" file replace variable with proper values like Database User ID and password.
    this will work for sure
    .htaccess, May 13, 2009 IP
  6. digitalhost

    digitalhost Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Check whether database user has all privileges and add user to that database.
    digitalhost, May 13, 2009 IP
  7. pipes

    pipes Prominent Member

    Messages:
    12,765
    Likes Received:
    957
    Best Answers:
    0
    Trophy Points:
    310
    #7
    Did you get this problem sorted out?
    pipes, May 13, 2009 IP
  8. sunnyverma1984

    sunnyverma1984 Active Member

    Messages:
    340
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    70
    #8
    post your config.php file here
    sunnyverma1984, May 13, 2009 IP
  9. brightknight

    brightknight Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Don't do that, lol. It's simple. Double check your information and, if you need to give a sample, show us the fields that need to be entered. Chances are you had bad data entry or may be confused with prefixes, e.g. accountname_databaseadminname is sometimes the way you input the admin db user name.
    brightknight, May 13, 2009 IP
  10. sxcnelson

    sxcnelson Peon

    Messages:
    211
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Make sure u have set previliges for the database user to use the particular database
    sxcnelson, May 13, 2009 IP
  11. T.Guru

    T.Guru Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Would you have some permission to access the database? If you do not, you would need to do that in order to be able to go on the database.
    T.Guru, May 15, 2009 IP
  12. FARAZ HAMEED

    FARAZ HAMEED Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thank you for solve my problem.....
    FARAZ HAMEED, Jun 2, 2009 IP