Queria fazer no Mysql mesmo. E agora?
Queria fazer no Mysql mesmo. E agora?
Deu certo aqui gente
---------application----------- ** spring.datasource.url=jdbc:mysql://localhost:3306/alura
spring.datasource.username= spring.datasource.password=
spring.datasource.testWhileIdle=true spring.datasource.validationQuery=SELECT 1
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.jpa.show-sql=true spring.jpa.hibernate.ddl-auto=update spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect **
-----------pom.xml------------
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.29</version>
</dependency>