Re: mysql_connect using version 5.0.1 accesses the internet when host and client are the same system
| From: | Sam Hobbs | Date: | Fri, 17 Sep 2004 14:22:50 +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 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12893@lists.php.net to get a copy of this message | ||
"Adam Maccabee Trachtenberg" <adam@trachtenberg.com> wrote in message
news:Pine.LNX.4.58.0409161509100.15542@miranda.org...
>
> 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
That is confusing for me. I interpret that to mean that the MySQL extension
doesn't support any features of MySQL added to versions greater than 4.1.0
and if I don't need the additional features then I can use the MySQL
extension.
> 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?"
I see nothing telling me not to use the mysql extension. I also do not see a
line in my php.ini file that says "extension=php_mysqli.dll" (either
commented or not commented); I did thave a line that said
";extension=php_mysql.dll" that I uncommented of course.
> 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.
That's fine. I did not know and now that you have said that, I now know. I
was trying to help and as best as I knew it seemed to be a php problem. I
will assume you people do know enough to make the determination and
therefore I will assume it is accurate. It sure is less work for me to not
pursue it further.