diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 30c1d5d..b69ad6e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,15 +1,28 @@ ################################# #Configuracion console de BD H2 # ################################# - +# default jdbc: testdb user: sa pass: -> localhost:8080/h2-console/ #spring.datasource.url=jdbc:h2:men:clientesdb #spring.datasource.username=isaias #spring.datasource.password=sa #spring.datasource.driver-class-name=org.h2.Driver spring.h2.console.enabled=true -# default jdbc: testdb user: sa pass: -# localhost:8080/h2-console/ + +################################# +#Configuracion de BD MYSQL # +################################# +#spring.datasource.url=jdbc:mysql://localhost/clientesdb?serverTimezone=America/La_Paz&useSSL=false +#spring.datasource.username=root +#spring.datasource.password=sasa +#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +#spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect + +#solo desarrollo tener las tablas creadas en produccion +spring.jpa.hibernate.ddl-auto=create-drop +logging.level.org.hibernate.SQL=debug # FILE spring.servlet.multipart.max-file-size=10MB -spring.servlet.multipart.max-request-size=10MB \ No newline at end of file +spring.servlet.multipart.max-request-size=10MB + +