For mysql8.4 version, the error message reads "Reading result set error. Error Code: 1064, Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master status' at line 1, SQL State: 42000"