The statements just listed have also been removed from all MySQL test programs and files, and elsewhere, where used internally.
That leads to com.github.shyiko.mysql.binlog.network.ServerException: 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 while trying to initialize
https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html
According to the MySQL release notes for MySQL 8.4 they just removed a bunch of SQL commands
That leads to
com.github.shyiko.mysql.binlog.network.ServerException: 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
while trying to initialize