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

Tags:



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”

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.



Source: stackoverflow