From 669d6e95f4c5e1b73750703eaa40c457e1582ab6 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 15 Mar 2017 09:01:47 +0200 Subject: [PATCH] Change 'localhost_from_socket' to 'localhost' With the former you cannot log in over domain sockets. --- server/core/dcb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/core/dcb.c b/server/core/dcb.c index 3f364751e..d591915bc 100644 --- a/server/core/dcb.c +++ b/server/core/dcb.c @@ -2865,8 +2865,7 @@ dcb_accept(DCB *listener) if (client_conn.ss_family == AF_UNIX) { // client address - // Should this be `localhost` like it is in the MariaDB server? - client_dcb->remote = MXS_STRDUP_A("localhost_from_socket"); + client_dcb->remote = MXS_STRDUP_A("localhost"); } else {