Skip to content

Instantly share code, notes, and snippets.

@uysalserkan
Created July 1, 2021 06:00
Show Gist options
  • Save uysalserkan/19e9807ea5837862229e256e10751998 to your computer and use it in GitHub Desktop.
Save uysalserkan/19e9807ea5837862229e256e10751998 to your computer and use it in GitHub Desktop.
application.properties spring boot mysql connection
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=admin
spring.datasource.password=my_amazing_passwordz
spring.datasource.url=jdbc:mysql://localhost:3306/employee_mng
spring.jpa.hibernate.ddl-auto=update
@uysalserkan
Copy link
Author

spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.username=admin
spring.datasource.password=amazing_password2
spring.datasource.url=jdbc:postgresql://localhost:5432/java_apps
spring.jpa.hibernate.ddl-auto=update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment