How to configure Play an JDBC with Postgresql?
By default, postgresql will listen to port 5432
. So, Unless you sure about the fact that your postgre instance is running on port 80
, change your JDBC url to:
jdbc:postgresql://localhost:5432/20160210_scala_play
And also, this dependency was resolved for me:
"org.postgresql" % "postgresql" % "9.4-1206-jdbc42"
Try
db.default.hikaricp.dataSourceClassName=org.postgresql.ds.PGSimpleDataSourcedb.default.hikaricp.dataSource.user=userdb.default.hikaricp.dataSource.password=passdb.default.hikaricp.dataSource.databaseName=20160210_scala_playdb.default.hikaricp.dataSource.serverName=localhost
and use this driver:
"org.postgresql" % "postgresql" % "9.4-1206-jdbc41"