Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12874 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26766 invoked by uid 1010); 16 Sep 2004 17:13:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23353 invoked from network); 16 Sep 2004 17:12:50 -0000 Received: from unknown (HELO colo.lerdorf.com) (66.198.51.121) by pb1.pair.com with SMTP; 16 Sep 2004 17:12:50 -0000 Received: from rasmus2.corp.yahoo.com (rasmus2.corp.yahoo.com [207.126.233.18]) by colo.lerdorf.com (8.13.1/8.13.1/Debian-13) with ESMTP id i8GHCkSq003315; Thu, 16 Sep 2004 10:12:46 -0700 Date: Thu, 16 Sep 2004 10:12:44 -0700 (PDT) X-X-Sender: rasmus@t42p.lerdorf.com To: Sam Hobbs cc: internals@lists.php.net In-Reply-To: <20040916170712.94973.qmail@pb1.pair.com> Message-ID: References: <20040916040105.25425.qmail@pb1.pair.com> <20040916170712.94973.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] mysql_connect using version 5.0.1 accesses the internet when host and client are the same system From: rasmus@php.net (Rasmus Lerdorf) Uh, I have no idea where ths reaction came from. I was asking you to dig a little deeper by telnetting to whatever port you have MySQL listening to. If you can't get to the port yourself, then obviously PHP can't either and it wouldn't be a PHP problem. -Rasmus On Thu, 16 Sep 2004, Sam Hobbs wrote: > "Rasmus Lerdorf" wrote in message > news:Pine.LNX.4.58.0409152141160.1427@t42p.lerdorf.com... > > > > I am not sure why you assume this to be a PHP problem. > > I thought I was being reasonable. I thought I was clear about saying I was > not sure it is a PHP problem. I was trying to help by helping diagnose a > problem. If it is not a problem then you could say so in a more reasonable > manner. If you always react to people this way when they are trying to help > then you will have an inferior product since you discourage people from > helping. > > I am not assuming; that is why I am asking this question. You really can say > the same thing except without the emotions. You can simply state the fact > that as far as you know it is not a PHP problem. It really, really helps to > keep in mind that it is better to simply state facts. That keeps things less > emotional and generally keeps things at a more reasonable level. > > > Sounds like your > > firewall is blocking both local and external connections. Can you telnet > > to port 10061 on localhost with the firewall enabled? > > I think the PHP messages need to be documented. It is unclear whether 10061 > is a port or an error code. Are you sure it is a port? I am not aware of > MySQL using port 10061. I did not change anything to specify port 10061 and > this is a fresh install of MySQL. > > Again, if you think that what I described sounds like it is normal behavior, > then simply saying so helps a lot. If it is normal behavior, then it would > probably help a lot of people to say so somewhere. > > One reason I say that the PHP messages need to be documented better is > indicated by all the many others with the same problem. If you search for: > > +mysql_connect +10061 > > You will find many web sites that have that error. It is a common problem > that many people are encountering and it appears that many people don't know > how to solve it; their web sites are down. Many of the other results are > from people asking about the problem and it is not clear how many of them > have not solved the problem. It appears that many have not. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >