I have host on 000webhost when i will try to connect it gives me this error i cannot figure out whats the problem ?Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/1130): Host '31.170.161.176' is not allowed to connect to this MySQL server in /home/a2548020/public_html/includes/connection.php on line 6
here is my connection script
<?php
$DBServer = ''; //my info
$DBUser = ''; //my info
$DBPass = ''; //my info
$DBName = ''; //my info
$conn = new mysqli($DBServer, $DBUser, $DBPass, $DBName);
//$conn = mysqli_connect($DBServer, $DBUser, $DBPass, $DBName);
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
?>