Hello!
I have 2 database instances:
1 MariaDB 10.0
1 MySQL 4.0
I need to connect to these 2 databases.
I have added those 2 jars:
#AdditionalJar: mysql-connector-java-3.1.12-bin
#AdditionalJar: mariadb-java-client-1.1.7
If I try to connect separately with
#AdditionalJar: mysql-connector-java-3.1.12-bin
I can connect to MySQL 4.0
If I try to connect separately with
#AdditionalJar: mariadb-java-client-1.1.7
I can connect to MariaDB 10.0
But if I try to connect to both with
#AdditionalJar: mysql-connector-java-3.1.12-bin
#AdditionalJar: mariadb-java-client-1.1.7
I take exceptions like:
WARNING: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@1d085c24 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
java.sql.SQLException: Host 'VF_PC' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'
at org.mariadb.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:149)
at org.mariadb.jdbc.internal.SQLExceptionMapper.throwException(SQLExceptionMapper.java:106)
at org.mariadb.jdbc.Driver.connect(Driver.java:114)
It seems that the one driver confuses the other!
Is there any way to workaround this error?
Thank you in advance!
I have 2 database instances:
1 MariaDB 10.0
1 MySQL 4.0
I need to connect to these 2 databases.
I have added those 2 jars:
#AdditionalJar: mysql-connector-java-3.1.12-bin
#AdditionalJar: mariadb-java-client-1.1.7
If I try to connect separately with
#AdditionalJar: mysql-connector-java-3.1.12-bin
I can connect to MySQL 4.0
If I try to connect separately with
#AdditionalJar: mariadb-java-client-1.1.7
I can connect to MariaDB 10.0
But if I try to connect to both with
#AdditionalJar: mysql-connector-java-3.1.12-bin
#AdditionalJar: mariadb-java-client-1.1.7
I take exceptions like:
WARNING: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@1d085c24 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
java.sql.SQLException: Host 'VF_PC' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'
at org.mariadb.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:149)
at org.mariadb.jdbc.internal.SQLExceptionMapper.throwException(SQLExceptionMapper.java:106)
at org.mariadb.jdbc.Driver.connect(Driver.java:114)
It seems that the one driver confuses the other!
Is there any way to workaround this error?
Thank you in advance!