diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index cac85c0..b745bdd 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,7 +2,7 @@ # = DATA SOURCE # =============================== # Set here configurations for the database connection -spring.datasource.url=jdbc:mysql://localhost:3306/springboot_rabbitmq_example +spring.datasource.url=jdbc:mysql://localhost:3306/springboot_rabbitmq_example?createDatabaseIfNotExist=true&useSSL=false spring.datasource.username=root spring.datasource.password= spring.datasource.driver-class-name=com.mysql.jdbc.Driver @@ -26,4 +26,4 @@ spring.jpa.hibernate.ddl-auto=create-drop # Naming strategy spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy # Allows Hibernate to generate SQL optimized for a particular DBMS -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect \ No newline at end of file +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect