How to configure Play an JDBC with Postgresql?
<p>Here is my postgres version <code>postgresql/9.4.1</code></p>

<p>Here is my play version <code>addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.6")</code></p>

<p>Here is my <code>libraryDependencies</code></p>

<pre><code>libraryDependencies ++= Seq(
  jdbc,
  cache,
  ws,
  specs2 % Test,
  "postgresql" % "postgresql" % "9.1-901-1.jdbc4"

)
</code></pre>

<p>Changing version to <code>9.4-1201-jdbc41</code> gives <code>sbt.ResolveException: unresolved dependency: postgresql#postgresql;9.4-1201-jdbc41: not found</code></p>

<p>Here is my application.conf</p>

<pre><code>db.default.driver=org.postgresql.Driver
# I tried the following combination
#db.default.url="postgres://user:pass@localhost/20160210_scala_play"

# And

db.default.url="jdbc:postgresql://localhost/20160210_scala_play"
db.default.user="user"
db.default.password="pass"
</code></pre>

<p>All resulted in </p>

<pre><code>`Cannot connect to database`
</code></pre>

<p>I verified that </p>

<pre><code>psql \list
</code></pre>

<p>does contain </p>

<pre><code>20160210_scala_play
</code></pre>

<p>with <code>user=user password=password</code></p>

<p>Can someone point me a direction?</p>