connecting remote host ..

From: Date: Mon, 14 Jun 2004 04:55:48 +0000
Subject: connecting remote host ..
Groups: php.general 
Request: Send a blank email to php-general+get-188193@lists.php.net to get a copy of this message
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

« previous php.general (#188193) next »