I want to connect mysql db from my springboot project. My username and password is defined in "application.properties" file. I can use this username and password for connect mysql from terminal but the other side intellij cant connect with this informations. What should i do about this
I have changed the root password with a new password
This is my application.properties file
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/(nameofdb)
spring.datasource.username=(root)
spring.datasource.password=(password)
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect