I am having a problem using mysql_connect function on yahoo web server
using phpMyAdmin. If I connect to my database on server using
$host='mysql', I can connect to database. If I use '62.200.312.42'
(which is my ip address, obtained by visiting site www.whatismyip.com,
I can not get connected to database. phpMyAdmin version is
2.6.3-pl1. Here is my code,
$host = '62.200.312.42';
$user='chowmen';
$password='noodle';
$link = mysql_connect("$host", $user,$password);
Question: How can I use my computer ip address to get connected to database?
How can I assign a list of ip addresses that can be connected to database? |