略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Notes

2024-11-12

Notes

This section provides a collection of miscellaneous notes on MySQL Native Driver usage.

  • Using mysqlnd means using PHP streams for underlying connectivity. For mysqlnd, the PHP streams documentation (Streams) should be consulted on such details as timeout settings, not the documentation for the MySQL Client Library.

add a noteadd a note

User Contributed Notes 1 note

up
-2
Les Brown
12 years ago
After upgrading from php 5.2 to php 5.3 on Windows, I was unable to connect to MySQL databases on localhost. I eventually tracked the problem down to entries in my hosts file:
It contained:
127.0.0.1       localhost
[...]
::1             localhost
Commenting out the second line fixed the problem.

The problem is explained here: http://bugs.php.net/bug.php?id=50172

官方地址:https://www.php.net/manual/en/mysqlnd.notes.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3