Change 'localhost_from_socket' to 'localhost'
With the former you cannot log in over domain sockets.
This commit is contained in:
@ -2865,8 +2865,7 @@ dcb_accept(DCB *listener)
|
|||||||
if (client_conn.ss_family == AF_UNIX)
|
if (client_conn.ss_family == AF_UNIX)
|
||||||
{
|
{
|
||||||
// client address
|
// client address
|
||||||
// Should this be `localhost` like it is in the MariaDB server?
|
client_dcb->remote = MXS_STRDUP_A("localhost");
|
||||||
client_dcb->remote = MXS_STRDUP_A("localhost_from_socket");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user