Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12884 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80886 invoked by uid 1010); 16 Sep 2004 19:21:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80856 invoked from network); 16 Sep 2004 19:21:11 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 16 Sep 2004 19:21:11 -0000 Received: (qmail 17410 invoked by uid 546); 16 Sep 2004 19:20:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 Sep 2004 19:20:17 -0000 Date: Thu, 16 Sep 2004 15:20:17 -0400 (EDT) X-X-Sender: adam@miranda.org To: Sam Hobbs cc: internals@lists.php.net In-Reply-To: <20040916180828.35379.qmail@pb1.pair.com> Message-ID: References: <20040916040105.25425.qmail@pb1.pair.com> <20040916171118.17288.qmail@pb1.pair.com> <20040916180828.35379.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: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Thu, 16 Sep 2004, Sam Hobbs wrote: > "Adam Maccabee Trachtenberg" wrote in message > news:Pine.LNX.4.58.0409161343440.15542@miranda.org... > > > > http://dev.mysql.com/doc/mysql/en/Old_client.html > > Does the mysql extension use a "pre-4.1" client? Perhaps the php > documentation answers that and if so then I don't expect you to answer that. It's not whether I'm willing or not willing to answer the question just because it's in the documentation, as documentation can be confusing or have information placed in hard-to-find locations. It's more a question of whether it looks like you did some investigation before asking a question on the internals list. In this case, there is a line on the main page of the mysql docs on php.net that says: "This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi." http://us2.php.net/mysql So, my initial question to myself is "Why is Sam trying to use the mysql extension to talk to MySQL 5.0.1, and has he tried mysqli?" > Note that in this situation, it is a fresh install of MySQL and I am not > using passwords. In that situation, the "Client does not support > authentication protocol" does not apply, correct? I cannot say. However, this is really a more of a MySQL question than a PHP one. The mysql extension uses the old C libraries, so it will work just like every other MySQL client. -adam -- adam@trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today!