From cae7b71196612d90c08c39ba2bdc8d0d974aa412 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 17 Jan 2010 11:59:51 +0100 Subject: mass updates/adds Signed-off-by: Florian Pritz --- php/mysqlnd-socket.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 php/mysqlnd-socket.patch (limited to 'php') diff --git a/php/mysqlnd-socket.patch b/php/mysqlnd-socket.patch new file mode 100644 index 0000000..7573ca1 --- /dev/null +++ b/php/mysqlnd-socket.patch @@ -0,0 +1,11 @@ +--- ext/mysqlnd/mysqlnd.c 2009-11-19 14:02:01.934775092 +0100 ++++ ext/mysqlnd/mysqlnd.c 2009-11-19 14:08:04.598072581 +0100 +@@ -547,7 +547,7 @@ + #ifndef PHP_WIN32 + if (host_len == sizeof("localhost") - 1 && !strncasecmp(host, "localhost", host_len)) { + if (!socket) { +- socket = "/tmp/mysql.sock"; ++ socket = "/var/run/mysqld/mysqld.sock"; + } + transport_len = spprintf(&transport, 0, "unix://%s", socket); + unix_socket = TRUE; -- cgit v1.2.3-24-g4f1b