From 55dcab4f165a2387da2612a684802c7b1c3cc849 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Mon, 4 Dec 2000 11:47:11 +0000 Subject: Move mysql.sock from ${DB_DIR} to /var/run/. ${DB_DIR} has mode 700 so only root and mysql were able to connect to the socket... Noticed by: Marco Hinz --- databases/mysql322-server/Makefile | 2 +- databases/mysql323-server/Makefile | 2 +- databases/mysql40-server/Makefile | 2 +- databases/mysql41-server/Makefile | 2 +- databases/mysql50-server/Makefile | 2 +- databases/mysql51-server/Makefile | 2 +- databases/mysql54-server/Makefile | 2 +- databases/mysql55-server/Makefile | 2 +- databases/mysql60-server/Makefile | 2 +- databases/percona55-server/Makefile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'databases') diff --git a/databases/mysql322-server/Makefile b/databases/mysql322-server/Makefile index b0398868d01c..3c3e69959729 100644 --- a/databases/mysql322-server/Makefile +++ b/databases/mysql322-server/Makefile @@ -28,7 +28,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-debug \ --without-readline \ --without-bench \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql323-server/Makefile +++ b/databases/mysql323-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql41-server/Makefile +++ b/databases/mysql41-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql50-server/Makefile +++ b/databases/mysql50-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql51-server/Makefile +++ b/databases/mysql51-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql54-server/Makefile +++ b/databases/mysql54-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/mysql60-server/Makefile +++ b/databases/mysql60-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile index 806aae7c02be..3dafafc5e9a4 100644 --- a/databases/percona55-server/Makefile +++ b/databases/percona55-server/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-bench \ --with-mit-threads=no \ --with-libwrap \ - --with-unix-socket-path=${DB_DIR}/mysql.sock + --with-unix-socket-path=/var/run/mysql.sock .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif -- cgit v1.2.3