I am trying to run maxscale as an query sanitation service via tcp sockets. Connecting straight to the mysql server works, going through maxscale doesn't.
I am not sure why, but maxscale seems to be representing the ipv4 as a IPV6 addr
Hi,
Starting with MaxScale 2.1, the default interface that MaxScale
first attempts to listen on is the IPv6 version of the 0.0.0.0
address ( :: ) which causes client connections to be
interpreted as IPv6. This should not be a problem as MaxScale can
map IPv4 grants to IPv6-mapped-IPv4 addressed (e.g. ::ffff:127.0.0.1
for 127.0.0.1) and the IPv6 form is just used for
uniform representation of both IPv4 and IPv6 addresses. You can
tell MaxScale to bind to the IPv4 address by adding address=0.0.0.0
in the listener definitions.
The common steps to figuring out authentication problems are:
If the authentication still fails after checking that all grants
are OK and MaxScale fetches the database user information
correctly, we might be looking at a bug. In this case, please open
up a bug report on the MaxScale Jira
with as much information as possible (logs, configuration files,
client-side errors etc.).
Markus
-- Markus Mäkelä, Software Engineer MariaDB Corporation t: +358 40 7740484 | Skype: markus.j.makela
Hi Geema i am facing same issue in maxscale 2.1.3, can you tell me how can you solve this issue.
I added both 'user'@'localhost' and 'user'@'127.0.0.1' permissions