Re: mysql_connect using version 5.0.1 accesses the internet when host and client are the same system

From: Date: Thu, 16 Sep 2004 19:20:17 +0000
Subject: Re: mysql_connect using version 5.0.1 accesses the internet when host and client are the same system
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-12884@lists.php.net to get a copy of this message
On Thu, 16 Sep 2004, Sam Hobbs wrote: > "Adam Maccabee Trachtenberg" <adam@trachtenberg.com> 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!

« previous php.internals (#12884) next »