Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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”;
    ?>

Viewing 1 replies (of 1 total)