1
0
forked from PGL/Clyde

allow unix socket connection for database in prod

This commit is contained in:
2024-03-06 10:01:55 +01:00
parent b72c0a8e17
commit 212ab638a2
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class JdbcConfig {
public DataSource psqlSourceProd(){
DriverManagerDataSource source = new DriverManagerDataSource();
source.setDriverClassName("org.postgresql.Driver");
source.setUrl("jdbc:postgresql://localhost:5432/clyde");
source.setUrl("jdbc:postgresql:clyde");
source.setUsername("clyde");
return source;