Access MySQL via PHP script on another server?
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:
[PHP]
[/PHP]
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.
Please sign in to leave a comment.
Comments
0 comments