• Hello, I have still problem with installation wordpress, when I type my MySQL username and password, I got message error check wp-config.php, something like that.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    Is your web hosting server and MySQL in separate server? If so, do you configure your MySQL so the web server can access your MySQL database? You can create a simple php file to test MySQL connection if necessary:

    <?php
    $servername = “your_server”;
    $username = “username”;
    $password = “password”;

    // Create connection
    $conn = new mysqli($servername, $username, $password);

    // Check connection
    if ($conn->connect_error) {
    die(“Connection failed: ” . $conn->connect_error);
    }
    echo “Connected successfully”;
    ?>

    Please upload a screenshot

    Hello,
    Can you please post the Error Message you are getting?

    If you can FTP to your host, check if you have the wp-config.php file in the root folder of the wordpress directory. Open that file and make sure the information in that file is accurate.

    If not, you should have a file wp-config-sample.php.

    Open that file, insert the correct information and then save that file as wp-config.php

    You really shouldn’t have to do any of this if during the web-based install, however this might get you moving towards a good install.

    Ideally wordpress gives the error message like ‘Error establishing database connection’, when database not configured properly. So try checking DB credentials once again.
    Also check your Hosting (localhost at most cases) if it has hosted at different server.

    People! It’s been a week since the OP posted. If you are looking for topics that could benefit from your help, try looking in https://www.ads-software.com/support/view/no-replies instead of piling in on this one.

    Please have a look over below thread-
    https://codex.www.ads-software.com/Common_WordPress_Errors

    Moderator t-p

    (@t-p)

    @magikcommerce,

    Have you had chance to read @esmi’s reply above?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error while install wordpress’ is closed to new replies.