[MacPorts] #21494: Connect from PHP fails with mysql_connect succeeds with Mysqli or PDO
#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
#21494: Connect from PHP fails with mysql_connect succeeds with Mysqli or PDO ------------------------------------------+--------------------------------- Reporter: pedronbvasconcelos@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: mysql5 ------------------------------------------+--------------------------------- Changes (by jmr@…): * cc: pedronbvasconcelos@… (removed) * keywords: mysql connect php => * owner: macports-tickets@… => ryandesign@… * priority: High => Normal -- Ticket URL: <http://trac.macports.org/ticket/21494#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21494: Connect from PHP fails with mysql_connect succeeds with Mysqli or PDO ------------------------------------------+--------------------------------- Reporter: pedronbvasconcelos@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: mysql5 ------------------------------------------+--------------------------------- Comment(by pedronbvasconcelos@…): Please close this ticket. The problem seem to be related to Apache2 and not the port mysql5. Thank you. -- Ticket URL: <http://trac.macports.org/ticket/21494#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21494: Connect from PHP fails with mysql_connect succeeds with Mysqli or PDO -------------------------------------------+-------------------------------- Reporter: pedronbvasconcelos@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: Port: mysql5 | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: MacPorts mysql5's socket is not in /var/mysql/mysql.sock but in /opt/local/var/run/mysql5/mysqld.sock. -- Ticket URL: <http://trac.macports.org/ticket/21494#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts