Configuring a Postgresql connection with Play 2 and Slick-Play Configuring a Postgresql connection with Play 2 and Slick-Play postgresql postgresql

Configuring a Postgresql connection with Play 2 and Slick-Play


slick.dbs.default.driver must be a slick driver, not a JDBC driver. Your db config should look something like this:

slick.dbs.default.driver="slick.driver.PostgresDriver$"slick.dbs.default.db.driver="org.postgresql.Driver"slick.dbs.default.db.url="jdbc:postgresql://localhost:5432/hello_play"slick.dbs.default.db.user="postgres"slick.dbs.default.db.password=""