CakeFest 2024: The Official CakePHP Conference

Hinweise

Dieser Abschnitt enthält eine Reihe von Hinweisen zur Verwendung des MySQL Native Driver.

  • Wenn mysqlnd verwendet wird, bedeutet dies, dass die PHP-Streams für die zugrundeliegende Verbindung verwendet werden. Für weitere Informationen zu mysqlnd, z. B. Timeout-Einstellungen, sollte die Dokumentation für PHP-Streams (Streams) herangezogen werden, nicht die Dokumentation für die MySQL Client Library.

add a note

User Contributed Notes 1 note

up
-2
Les Brown
14 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
To Top