diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-05 07:51:03 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-05 07:51:03 +0400 |
commit | 77ed577744d434d839ed94287622c13faaed42a7 (patch) | |
tree | d5dbec5d44fe6b9e50ddc20098ca02e10e58f0d9 /config | |
parent | a74f8a2a44ba7c07ce32a54d34702d8b31ced9ff (diff) |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.ini.sample.php | 1 | ||||
-rw-r--r-- | config/global.ini.php | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/config/config.ini.sample.php b/config/config.ini.sample.php index 23da5f0a85..9773615e72 100644 --- a/config/config.ini.sample.php +++ b/config/config.ini.sample.php @@ -16,4 +16,3 @@ password = datatabasePassword dbname = databaseName adapter = PDO_MYSQL ; PDO_MYSQL or MYSQLI tables_prefix = piwik_ -;unix_socket = /path/to/unix/socket diff --git a/config/global.ini.php b/config/global.ini.php index 645acaea33..b37a66a493 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -19,7 +19,6 @@ dbname = tables_prefix = port = 3306 adapter = PDO_MYSQL ; PDO_MYSQL or MYSQLI -;unix_socket = [database_tests] host = localhost @@ -29,7 +28,6 @@ dbname = piwik_tests tables_prefix = piwiktests_ port = 3306 adapter = PDO_MYSQL -;unix_socket = [Debug] ; if set to 1, the archiving process will always be triggered, even if the archive has already been computed |