I was having trouble connecting to the mysql database. I tested several things and decide to ask for help here. A guy helped me.
This is my code in aplciation properties:
spring.datasource.url=jdbc:mysql://localhost:3306/springone?serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=update
spring.jpa.generate-ddl= true
spring.jpa.show-sql= true
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
He said for me to add add this "? ServerTimezone = UTC" to the url. The project stopped giving error and executed, but now a login page appears and in my project there is no login page. The only thing it has is an index page
Someone knows what it is? Please