Hi Gowthaman,

For mysql to allow remove connecivity u have to make entry in mysql
database in tables db, user and host giving the IP of remote PC from
which u want to connect and username and password then reload the
database and It will all work

Manoj


On 14 Jun 2004 10:25:48 +0530, gowthaman ramasamy <[EMAIL PROTECTED]> wrote:
> 
> 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
> 
>

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

Reply via email to