This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-24. For the latest, interactive version please visit https://mariadb.com/kb/.

maxscale connection to PAM/LDAP/mysql_clear_password configured Galera Cluster

Hi Guys!

When I attempt to connect to my Galera Cluster with MaxScale 2.0.2 I get the following error: 2016-11-29 11:02:32 error : [RW Split Router] Failed to connect to server 'server1' (a.b.c.d:3306) when checking authentication user credentials and permissions:
2058 Plugin mysql_clear_password could not be loaded: /home/ec2-user/workspace/_build/connector-c/install/lib/plugin/mysql_clear_password.so: cannot open shared object file: No such file or directory

It seems the plugin dir is hardcoded and after creating it and symlinking the mysql_clear_password.so into it from the MariaDB Server package, the service can't start at all (however it is able to login to the Galera members):
2016-11-29 11:07:54 error : Fatal: MaxScale 2.0.2 received fatal signal 4. Attempting backtrace. 2016-11-29 11:07:54 error : Commit ID: 14326774065fd211a79e5935414d149fb8a17660 System name: Linux Release string: Red Hat Enterprise Linux Server release 7.3 (Maipo) 2016-11-29 11:07:54 error : /usr/bin/maxscale() [0x403be3] 2016-11-29 11:07:54 error : /lib64/libpthread.so.0(+0xf370) [0x7f4332170370] 2016-11-29 11:07:54 error : /home/ec2-user/workspace/_build/connector-c/install/lib/plugin/mysql_clear_password.so(+0x7ea) [0x7f432c33d7ea]

Please help me how to solve this issue or which is proper version of mysql_clear_password.so.

thanks, Tom

Answer Answered by Markus Mäkelä in this comment.

The crash seems like a bug. Please report it here and we'll get it fixed.

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.