Skip to content
Advertisement

I am getting this exeption when i try to start my spring project…Any ideas [closed]

HHH000342: Could not obtain connection to query metadata : Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, “jdbc:mysql://localhost:3306/spring_book_shop?createDatabaseIfNotExist=true&serverTimezone=UTC”

Advertisement

Answer

I believe I had a similar issue. First thing to do is to check any errors in the database or your query. If that isn’t the issue, then check your url, my url ended up being wrong. Also, check to see if you need the timezone param.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement