• darioush3

    (@darioush3)


    hello

    i cant install the wordpress in my site and get the error can not establish database connection
    how can i solve this?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • sarath8181

    (@sarath8181)

    https://www.youtube.com/watch?v=3LAZE6EXo6g – There are many posts online about this issue. This video should help you.

    jaiharishankarpr

    (@jaiharishankarpr)

    This is general database error.You should open wp-config file and change the name of database and username which is on your cpanel my databases.This will fix the issue.

    passionatedesigner

    (@passionatedesigner)

    This is a popular error. It can be easily fixed if you change the name of the database and username. I’d check out this article: http://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/ It discusses all of the common errors on WordPress and how to fix them.

    eSparkBiz

    (@esparkinfo001)

    Error Establishing a Database Connection is one of those curses that could be caused by many reasons.

    It may be solved by changing the database name and username in Wp-Config File.

    If this not work then you can go with below article link,

    I hope this article will help you:
    http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/

    matveev123

    (@matveev123)

    Спасибо!

    AndrewN

    (@andrewn18)

    Error Establishing a Database Connection is one of those curses that could be caused by many reasons.

    Checking the WP-Config file

    WP-Config.php is probably the single most important file in your entire WordPress installation. This is where you specify the details for WordPress to connect your database. If you changed your root password, or the database user password, then you will need to change this file as well. First thing you should always check is if everything in your wp-config.php file is the same.

    define(‘DB_NAME’, ‘database-name’);
    define(‘DB_USER’, ‘database-username’);
    define(‘DB_PASSWORD’, ‘database-password’);
    define(‘DB_HOST’, ‘localhost’);

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘wordpress installation error’ is closed to new replies.