It looks like a MySQL bug specific for this operating system (actually somewhere between MySQL and MySQL driver). Please try this workaround:
Add "&useServerPrepStmts=false" to 3 MySQL entries in the BASServer.props file, for example:
DriverURL=jdbc:mysql://localhost/BASDB?user=root&useServerPrepStmts=false
DriverTestURL=jdbc:mysql://localhost/BASDBTEST?user=root&useServerPrepStmts=false
BootstrapURL=jdbc:mysql://localhost/?user=root&useServerPrepStmts=false