Tune maxscaled error message

This commit is contained in:
Johan Wikman
2016-08-29 14:08:55 +03:00
parent 67cfafb23c
commit 146fb50cdb

View File

@ -371,10 +371,10 @@ static int maxscaled_listen(DCB *listener, char *config)
} }
else else
{ {
MXS_WARNING("The 'maxscaled' protocol can only be used with a domain socket, but " MXS_WARNING("The 'maxscaled' protocol can only be used with a Unix domain socket, but "
"it seems to have been configured with a socket and port: %s. " "it seems to have been configured with an address and port: %s. "
"Using the default socket path instead: %s. " "Using the default socket path instead: %s. "
"Remove all 'port' and 'address' entries from maxscaled protocol " "Remove all 'address' and 'port' entries from maxscaled protocol "
"listeners and replace with 'socket=default' or 'socket=path-to-socket'.", "listeners and replace with 'socket=default' or 'socket=path-to-socket'.",
config, MAXADMIN_DEFAULT_SOCKET); config, MAXADMIN_DEFAULT_SOCKET);
socket_path = MAXADMIN_DEFAULT_SOCKET; socket_path = MAXADMIN_DEFAULT_SOCKET;