]> git.pld-linux.org Git - packages/cacti.git/commitdiff
- patch comments auto/ac/cacti-0_8_7i-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 24 Jan 2012 09:45:10 +0000 (09:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql-socket.patch -> 1.3

mysql-socket.patch

index d07a5016230cf3c7320b9c81287c8c2cc650b0dc..1e373d4089d42c8a26629b8e8e5ad3e46b064ac7 100644 (file)
@@ -1,3 +1,15 @@
+allow using socket to connect to mysql
+
+split the socket from port if hostname contains colon
+this also allows $port to be just path to socket (not-numeric)
+
+localhost:/tmp/sock inspired by:
+http://bugs.cacti.net/view.php?id=425
+
+note: this socket works for mysqli driver only:
+http://phplens.com/lens/adodb/docs-adodb.htm
+
+
 --- cacti-0.8.7i-PIA-3.1/lib/database.php~     2011-12-12 03:56:06.000000000 +0200
 +++ cacti-0.8.7i-PIA-3.1/lib/database.php      2012-01-24 11:18:39.563094454 +0200
 @@ -34,6 +34,11 @@
This page took 0.152363 seconds and 4 git commands to generate.