first of all, if fail2ban is installed by default on your server, uninstall the existing fail2ban before installing the fail2ban manager that comes in aapanel and then install the fail2ban manager.
as for the problem, when trying to create for mysql from within the fail2ban manager, it says that it cannot find a file and rightfully cancels it. is there a solution to this, or I can add it manually, but I could not find where the mysql log file is.