Re: mysql_connect does not connect
| From: | Jason Davidson | Date: | Tue, 14 Sep 2004 19:27:34 +0000 |
| Subject: | Re: mysql_connect does not connect | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196649@lists.php.net to get a copy of this message | ||
The webpage of coarse, is not local, regardless of where its hosted, so
a firewall will come into play when trying to connect.
You dont have disable it, i should have been specifc i suppose, you must
allow for the mysql port to be open. :)
Whats for others to confirm, try it yourself and see if it works.
Jason
"Sam Hobbs" <SoCalSam@GMail.com> wrote:
>
> "Jason Davidson" <jdavidson@zworg.com> wrote in message
> news:496.1095142569@zworg.com...
> > Windows XP Firewall, or any other firewall for that matter must be off.
> > Jason
>
> Can someone else confirm that this is correct?
>
> For one thing, when I use MySQL directly outside of a web page, it works.
> The sample C program works.
>
> For another thing, I doubt very immensely that everyone using mysql_connect
> does not use a firewall. Even if anyone else does, I will not. It would have
> been quite unreasonable for the developers of PHP to develop software with
> that requirement, but I doubt it was.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>