Spring-bootのよく使うTips [Mac]

application.properties [MySQL]

application.properties

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost/DB_NAME
spring.datasource.username=DB_USER
spring.datasource.password=DB_PASS
spring.jpa.database=MYSQL 
spring.jpa.hibernate.ddl-auto=update

Tomcatプロセスが残ってた時の対処法 [Mac]

Terminal

lsof -i:8080

kill PID