[MXS-3734] show binlog error msg is incorrect Created: 2021-08-17  Updated: 2021-08-19  Resolved: 2021-08-19

Status: Closed
Project: MariaDB MaxScale
Component/s: binlogrouter
Affects Version/s: 2.5.13
Fix Version/s: 2.5.16

Type: Bug Priority: Minor
Reporter: Jon Brightwell Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None
Environment:

linux



 Description   

MariaDB [(none)]> show BINLOGS;
ERROR 1064 (42000): In line 1:
Error! Expecting `MASTER, SLAVE, BINLOGS or VARIABLES`:
show BINLOGS
_____^_

I think the error msg should be "BINARY LOGS" not "BINLOGS". As this command is supported...
SHOW BINARY LOGS;



 Comments   
Comment by Jon Brightwell [ 2021-08-17 ]

also note that

show VARIABLES;

also gives the same error. Master and slave are correct for show xxx status.

https://mariadb.com/kb/en/mariadb-maxscale-25-binlogrouter/#supported-sql-commands

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