Comments - I'm inquiring about how to control MaxScale access ip.
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Can you clarify your question a bit?
For example, only the ip corresponding to (1.1.1.1, 2.2.2.2) in the maxscale setting accessed by the client is connected, and the other ip is blocked. Is this setting possible? If possible, please refer to it.
MaxScale uses the authentication information in MariaDB. If you want to restrict a client to a specific IP, you can create the user with
CREATE USER 'username'@IP
and then use the proxy_protocol feature in MariaDB and MaxScale to allow MaxScale to proxy the users.