packages: cacti/mysql-socket.patch - patch comments

glen glen at pld-linux.org
Tue Jan 24 10:45:16 CET 2012


Author: glen                         Date: Tue Jan 24 09:45:16 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch comments

---- Files affected:
packages/cacti:
   mysql-socket.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/cacti/mysql-socket.patch
diff -u packages/cacti/mysql-socket.patch:1.2 packages/cacti/mysql-socket.patch:1.3
--- packages/cacti/mysql-socket.patch:1.2	Tue Jan 24 10:25:34 2012
+++ packages/cacti/mysql-socket.patch	Tue Jan 24 10:45:10 2012
@@ -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 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti/mysql-socket.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list