title: not allowed to connect to this MariaDB server in php
body: <p>I try connect my remote server database in php but it's give bellow error</p>
  
  <p><code>Host 'xx.xxx.xx.xx' is not allowed to connect to this MariaDB server in</code></p>
  
  <p>My connection code like this</p>
  
  <pre><code>$servername = "my_server_address";
  $username = "my_username";
  $password = "my_password";
  $dbname = "my_db";    
  $conn = new mysqli($servername, $username, $password, $dbname);
  if ($conn-&gt;connect_error) {
      die("Connection failed: " . $conn-&gt;connect_error);
  }
  </code></pre>