[MacPorts] #21494: Connect from PHP fails with mysql_connect succeeds with Mysqli or PDO

MacPorts noreply at macports.org
Sat Sep 19 08:47:37 PDT 2009


#21494: Connect from PHP fails with mysql_connect succeeds with Mysqli or PDO
------------------------------------------+---------------------------------
 Reporter:  pedronbvasconcelos@…          |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  High                          |   Milestone:                                       
Component:  ports                         |     Version:  1.8.0                                
 Keywords:  mysql connect php             |        Port:  mysql5                               
------------------------------------------+---------------------------------
 Connecting to mysql5 server from (system default) PHP5.3 fails with
 mysql_connect() but succeeds with Mysqli or PDO.
 Error log messages (socket and tcp):
 mysql_connect(): [2002] No such file or directory (trying to connect via
 unix:///var/mysql/mysql.sock) in […]
 mysql_connect(): [2002] Can't assign requested address (trying to connect
 via tcp://127.0.0.1:0) in [...]

 System:
 OSX 10.6.1 on a Core Duo (32bit) MacBook Pro running MacPorts 1.8.0

-- 
Ticket URL: <http://trac.macports.org/ticket/21494>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list