hello list,
My php script works fine with local mysql database.
however when try to use some remote database it fails and gives follwing
error ..

Warning: mysql_connect(): Unknown MySQL Server Host 'http' (2) in
/usr/local/apache2/htdocs/gowtham/forphp/db_qry_4repeat.php on line 86


the mysql_connect() syntax is as follows ..
$db=mysql_connect("192.168.1.109", "root", "password"); 
192.168.1.109 is the ip (internal IP on LAN) of the machine hosting the
database.

thanx a lot in advance ..

-- 
Ra. Gowthaman,
Graduate Student,
Bioinformatics Lab,
Malaria Research Group,
ICGEB , New Delhi.
INDIA

Phone: 91-9811261804
       91-11-26173184; 91-11-26189360 #extn 314

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to