Database Connection issues in Jdeveloper with MySQL Database

If having an issue connecting Jdeveloper with MySQL database, it may be caused by Driver. You need to download the correct driver

You may also face the following issue which also may be caused by the inappropriate driver.

Test failed: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long mysql jdeveloper
Or
Test failed: Unknown system variable 'query_cache_size'


Let's download the updated connector and configure it in JDeveloper https://www.mysql.com/products/connector/

Download JDBC Driver for MySQL

OR 
from maven repository

Click on the jar file to download the connector










Now Click on the "Test Connection" button it should work and now you're ready to roll. 

Cheers!

Comments

Popular posts from this blog

Unable to create a server socket for listening on channel "Default[4]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.

[Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.

ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)