Let's say I have a VPS with a public IP 123.123.100.101
I put a PHP script in there which is going to read a table from my blog database (say
the database name is h123084_wp702)
So, first I have to grant remote access, right?
Then the issue is to update my connection code. I have this:
What are the correct values of $host, $user, and $pass?
I cannot update my original post with attachments, because it was detected as spam
So here are the pictures, anyway.

I put a PHP script in there which is going to read a table from my blog database (say
the database name is h123084_wp702)
So, first I have to grant remote access, right?
Then the issue is to update my connection code. I have this:
PHP:
<?php
$host ="";
$user ="";
$pass ="";
$db ="h123084_wp702";
$con = mysqli_connect($host, $user, $pass, $db) or die("Cannot connect to database...");
?>
I cannot update my original post with attachments, because it was detected as spam
So here are the pictures, anyway.


Last edited by a moderator: