PhpmyAdmin has huge amount of traffic

So im building an android app connected to a dabatase which I access through php. But somehow I have an abnormally large amount of traffic. When I go into phpMyAdmin and keep refreshing the monitor which gives the amount of questions. I can see that there are about a hundred questions per second which is ridiculous. I haven't even used a single php script, so traffic should only be what I'm doing inside phpmyadmin.

Also, it says the database was created on december 13th, when it was actually created about a week ago...

What is happening?!

This is an example of a php script I use.

<?php
$con = mysqli_connect(*************);

$NAME = $_POST["NAME"];
$INBIERINCREMENT = $_POST["INBIER"];

$statement = mysqli_prepare($con, "UPDATE Bierlijst SET INBIER = INBIER + ? WHERE NAME = ?");
mysqli_stmt_bind_param($statement, "is", $INBIERINCREMENT, $NAME);
mysqli_stmt_execute($statement);

$response = array();
$response["success"] = true;  

echo json_encode($response);
?>

Comments

  • Admin
    edited November -1

    So im building an android app connected to a dabatase which I access through php. But somehow I have an abnormally large amount of traffic. When I go into phpMyAdmin and keep refreshing the monitor which gives the amount of questions. I can see that there are about a hundred questions per second which is ridiculous. I haven't even used a single php script, so traffic should only be what I'm doing inside phpmyadmin.

    Also, it says the database was created on december 13th, when it was actually created about a week ago...

    What is happening?!

    This is an example of a php script I use.

    <?php
    $con = mysqli_connect(*************);
    
    $NAME = $_POST["NAME"];
    $INBIERINCREMENT = $_POST["INBIER"];
    
    $statement = mysqli_prepare($con, "UPDATE Bierlijst SET INBIER = INBIER + ? WHERE NAME = ?");
    mysqli_stmt_bind_param($statement, "is", $INBIERINCREMENT, $NAME);
    mysqli_stmt_execute($statement);
    
    $response = array();
    $response["success"] = true;  
    
    echo json_encode($response);
    ?>
    

    what is your account username?