Reply to Re: Remote Database

Your name:

Reply:


Posted by Jerry Stuckle on 07/07/06 19:00

Luca wrote:
> I'have Easy PHP in localhost and i need connect php page (local) to remote
> database:
>
> $db_host = "62.149.225.23";
> $db_user = "gfo";
> $db_password = "gfo";
> $db_name = "gfonline";
> $db = mysql_connect($db_host, $db_user, $db_password);
>
> The browser show this message:
>
> Warning: mysql_connect(): Can't connect to MySQL server on '62.149.225.23'
> (10061) in e:\php\gfonline.it\provaremoto.php on line 7
>
> Bye
> Luca
>
>

Sounds like the db server isn't listening on the default port, or a
firewall is blocking your access.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация