[MXS-955] MaxScale 2.0.1 doesn't recognize user and passwd options in .maxadmin file Created: 2016-10-20  Updated: 2016-10-21  Resolved: 2016-10-21

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2, 2.1.0

Type: Bug Priority: Major
Reporter: Valerii Kravchuk Assignee: Johan Wikman
Resolution: Fixed Votes: 2
Labels: None


 Description   

With 2.0.1 we get:

$ maxadmin
WARNING: Unrecognised parameter 'user' in .maxadmin file
WARNING: Unrecognised parameter 'passwd' in .maxadmin file
Unable to connect to MaxScale at /tmp/maxadmin.sock: No such file or directory

This worked with MaxScale 1.4.3. It seems in 2.0.1 we have to specify the user and password on the command-line (after upgrade or if we do not rely on UNIX domain sockets only):

$ maxadmin --user=my_user --password=my_pw
WARNING: Unrecognised parameter 'user' in .maxadmin file
WARNING: Unrecognised parameter 'passwd' in .maxadmin file
MaxScale> 

As the old internet socket based communication was put back in 2.0.1, we should put back processing of user and passwd settings from .maxadmin.

Side note: This KB article:

https://mariadb.com/kb/en/mariadb-enterprise/reference-maxadmin/#configuring

also needs clarifications on what is supposed to be recognized in .maxadmin file and in what exact 2.0.x versions.



 Comments   
Comment by Johan Wikman [ 2016-10-21 ]

Fixed by commit https://github.com/mariadb-corporation/MaxScale/commit/7a988df5a0ed4410a0dbf6911e17a047a2105203

Generated at Thu Feb 08 04:03:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.