SQL Server · CrudLabDB
ART-1002
Published
SQL Server
High
Connecting Spring Boot to SQL Server
The JDBC URL, the login and why encrypt=true needs trustServerCertificate on a dev PC.
Content
spring.datasource.url=jdbc:sqlserver://localhost;instanceName=SQLEXPRESS;databaseName=CrudLabDB;encrypt=true;trustServerCertificate=true
Keep the password out of Git: put it in config/application-local.properties.
#sql server#jdbc#hikari
Record details
History (activity_log)
No actions recorded yet.