• uzairbhai

    (@uzairbhai)


    I am getting error establishing database connection. i checked my wp-config.php file and my username and password are fine there. i added enable debug and getting this error.
    How can i fix this

    Warning: mysqli_real_connect(): (28000/1045): Access denied for user ‘ofcounse’@’localhost’ (using password: YES) in /home/ofcounse/public_html/wp-includes/wp-db.php on line 1531

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • pramadiputra

    (@pramadiputra)

    Hi,

    that’s mean that your username ‘ofcourse’ that’s being defined inside your wp-config.php, is incorrect or wrong with the whatever password that’s defined inside your wp-config.php.

    I suggest you to do double check your MySQL Database account. And paste them inside your wp-config.php

    Sumeet Gohel

    (@sumeetgohel)

    @uzairbhai

    It might have two possibilities in which one – You have not checked all the privileges while creating the user ( cpanel wizard ) or second in which you wrote the wrong password. To check password you can just put and use the PHPMINIADMIN php file to root of your folder, then open url in browser and check.

    can download latest phpminiadmin from below path
    https://sourceforge.net/projects/phpminiadmin/?source=typ_redirect

    Dion

    (@diondesigns)

    Did you specify the correct database name in wp-config.php? If so, did you make sure to enable access to the database for the “ofcourse” DB user?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error database connection Urgent’ is closed to new replies.