Files
BrickLog/BrickLog-Server/src/main/java/resources/application.properties

10 lines
465 B
Properties

# MariaDB Configuration
spring.datasource.url=jdbc:mariadb://localhost:3306/bricklog_db
spring.datasource.username=your_db_username
spring.datasource.password=your_db_password
# JPA settings
spring.jpa.hibernate.ddl-auto=update # Creates tables automatically; set to 'none' in production if not needed
spring.jpa.show-sql=true # Shows SQL queries in the console, useful for debugging
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect