close

[Solved] Unable to open JDBC Connection for DDL execution

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Unable to open JDBC Connection for DDL execution in java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Unable to open JDBC Connection for DDL execution Error Occurs?

Today I get the following error Unable to open JDBC Connection for DDL execution in java.

How To Solve Unable to open JDBC Connection for DDL execution Error ?

  1. How To Solve Unable to open JDBC Connection for DDL execution Error ?

    To Solve Unable to open JDBC Connection for DDL execution Error Upgrading MySql connector jar from 5.1 to 8.0 fixed the problem – my code was not the problem.

  2. Unable to open JDBC Connection for DDL execution

    To Solve Unable to open JDBC Connection for DDL execution Error Upgrading MySql connector jar from 5.1 to 8.0 fixed the problem – my code was not the problem.

Solution 1

Solution:

Upgrading MySql connector jar from 5.1 to 8.0 fixed the problem – my code was not the problem.

Solution 2

I solved this by correcting mysql credentials in the src > main > application.properties file

Check if your mysql credentials are correct and mysql server is running.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment