Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#865 closed Bug (fixed)

unix_socket support

Reported by: vipsoft Owned by: vipsoft
Priority: normal Milestone: Piwik 0.4.3
Component: Core Keywords:
Cc: Sensitive:

Description

The fix in #614 [991] is kludgey.

Propose moving the change to Installation/Controller.php.

Change History (9)

comment:2 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [1311]) fixes #865 - unix_socket support

comment:3 Changed 5 years ago by vipsoft (robocoder)

(In [1314]) refs #865 - add unix_socket to example config

comment:4 Changed 5 years ago by vipsoft (robocoder)

(In [1315]) refs #865 - add unix_socket to sample

comment:5 Changed 5 years ago by vipsoft (robocoder)

Note: requires ZF 1.5+

comment:6 Changed 5 years ago by vipsoft (robocoder)

(In [1317]) refs #865 - comment out unix_socket until we update ZF

comment:7 Changed 5 years ago by vipsoft (robocoder)

(In [1367]) refs #865 - re-worked unix_socket support for Zend_Db and Tracker_Db

Installation will now accept:

  • host
  • host:port
  • host:/socket/path
  • /socket/path

Connecting to the database, Piwik will look at the unix_socket setting (if set), or a socket path in the port; else fallback to traditional host:port.

comment:8 Changed 5 years ago by vipsoft (robocoder)

  • Milestone changed from 1 - Piwik 0.4.2 to 1 - Piwik 0.4.3

comment:9 Changed 5 years ago by vipsoft (robocoder)

(Note: the algorithm in [1367] no longer depends on the ZF update.)

Note: See TracTickets for help on using tickets.