Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- libraryDependencies ++= Seq(jdbc, ehcache , ws , specs2 % Test , guice )
- libraryDependencies ++= Seq("com.typesafe.play" %% "play" % "2.6.11")
- libraryDependencies += "com.typesafe.play" %% "play-slick" % "3.0.0"
- libraryDependencies ++= Seq("mysql" % "mysql-connector-java" % "5.1.36")
- db.default.driver = com.mysql.jdbc.Driver
- db.default.url = "jdbc:mysql://localhost/my_database"
- db.default.username = "my_user_name"
- db.default.password = "my_password"
- play.db {
- # The combination of these two settings results in "db.default" as the
- # default JDBC pool:
- #config = "db"
- #default = "default"
- # Play uses HikariCP as the default connection pool. You can override
- # settings by changing the prototype:
- prototype {
- # Sets a fixed JDBC connection pool size of 50
- #hikaricp.minimumIdle = 50
- #hikaricp.maximumPoolSize = 50
- }
- }
Add Comment
Please, Sign In to add comment