summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-06 23:12:56 +0000
committerSascha Schumann <sas@php.net>2000-03-06 23:12:56 +0000
commitd69b38ea65a17ef0203987afb1706ba4f149d5b6 (patch)
tree5eceb2d42a280c4c6ce0175697f172cbedb34e33 /ext/mysql/libmysql
parent12b2f2af8f1550f615c6b7ad985d3851f651f11e (diff)
downloadphp-git-d69b38ea65a17ef0203987afb1706ba4f149d5b6.tar.gz
Change default UNIX sock to /tmp/mysql.sock
Diffstat (limited to 'ext/mysql/libmysql')
-rw-r--r--ext/mysql/libmysql/mysql_com.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/libmysql/mysql_com.h b/ext/mysql/libmysql/mysql_com.h
index e652ff6e60..2a280db4f6 100644
--- a/ext/mysql/libmysql/mysql_com.h
+++ b/ext/mysql/libmysql/mysql_com.h
@@ -20,7 +20,7 @@ extern "C" {
#define LOCAL_HOST_NAMEDPIPE "."
#define MYSQL_PORT 3306 /* Alloced by ISI for MySQL */
-#define MYSQL_UNIX_ADDR "/var/tmp/mysql.sock"
+#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
#if defined(__EMX__) || defined(__OS2__)
#undef MYSQL_UNIX_ADDR
#define MYSQL_OS2_ADDR "\\socket\\MySQL"