Hello giga,
Thank you for your reply!
The error Host 'VF_PC' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'
isn't actually an error.
MySQL 4.0 is an old version and the login protocol is not the same as the one of the newest versions.
When I include both drivers, something is being confused and the MariaDB driver tries to connect to the new database (it's OK) and to the old database (wrong) that MySQL driver have to.
When I include one driver at a time, I get the connection to the proper database, but error for the other (it's reasonable).
It seems that I have to use only one jdbc driver...
My settings are correct:
com.mysql.jdbc.Driver class for MySQL 4.0
org.mariadb.jdbc.Driver class for MariaDB 10.0
When I try to connect to MySQL 4.0 with both drivers, it seems that only one driver tries to connect to both databases.
That's why org.mariadb.jdbc.Driver causes the error for MySQL 4.0!