Change 'localhost_from_socket' to 'localhost'

With the former you cannot log in over domain sockets.
This commit is contained in:
Johan Wikman 2017-03-15 09:01:47 +02:00
parent 78b6b4d4e4
commit 669d6e95f4

View File

@ -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
{