note 103365 added to pdo.connections
| From: | jak dot spalding at gmail dot com | Date: | Sun, 10 Apr 2011 19:35:22 +0000 |
| Subject: | note 103365 added to pdo.connections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178666@lists.php.net to get a copy of this message | ||
Just thought I'd add in and give an explanation as to why you need to use 127.0.0.1 if you have
a different port number.
The mysql libraries will automatically use Unix sockets if the host of "localhost" is
used. To force TCP/IP you need to set an IP address.
----
Server IP: 69.147.83.197
Probable Submitter: 80.42.253.14
----
Manual Page -- http://www.php.net/manual/en/pdo.connections.php
Edit -- https://master.php.net/note/edit/103365
Del: integrated -- https://master.php.net/note/delete/103365/integrated
Del: useless -- https://master.php.net/note/delete/103365/useless
Del: bad code -- https://master.php.net/note/delete/103365/bad+code
Del: spam -- https://master.php.net/note/delete/103365/spam
Del: non-english -- https://master.php.net/note/delete/103365/non-english
Del: in docs -- https://master.php.net/note/delete/103365/in+docs
Del: other reasons-- https://master.php.net/note/delete/103365
Reject -- https://master.php.net/note/reject/103365
Search -- https://master.php.net/manage/user-notes.php