I have a Host enayam.in (linux) i have mysql db in this Host.
Actually i have to access it on my Localhost(With WAMP or MAMP)
if the Database in localhost(WAMP or MAMP) then i can connect my DB like this
mysql_connect('localhost', 'root', 'root');
mysql_select_db('testDB');
now i try to access my enayam.in DB in my localhost(WAMP or MAMP)
mysql_connect('enayam.in', 'enayamin_dbuser', 'enayamin_dbpassword');
mysql_select_db('enayamin_testDB');
but its giving error, i also try with my server IP as host (75.126.136.20)
mysql_connect('75.126.136.20', 'enayamin_dbuser', 'enayamin_dbpassword');
mysql_select_db('enayamin_testDB');
eventhough its giving error. please help me to solve this issue.
Thanks in advance