Expand SHOW DATABASES warning message

The message now states the impliciations of missing permissions. If the
MaxScale user does not have the permissions to view all databases, it will
only see its own databases.
This commit is contained in:
Markus Mäkelä
2018-03-01 16:50:01 +02:00
parent deae7ea922
commit e5934dfb11

View File

@ -638,7 +638,8 @@ static bool check_server_permissions(SERVICE *service, SERVER* server,
if (row && strcasecmp(row[0], "Y") != 0)
{
MXS_WARNING("[%s] User '%s' is missing the SHOW DATABASES privilege.",
MXS_WARNING("[%s] User '%s' is missing the SHOW DATABASES privilege. "
"This means that MaxScale cannot see all databases and authentication can fail.",
service->name, user);
}