Guest User

Untitled

a guest
Nov 27th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. libraryDependencies ++= Seq(jdbc, ehcache , ws , specs2 % Test , guice )
  2. libraryDependencies ++= Seq("com.typesafe.play" %% "play" % "2.6.11")
  3. libraryDependencies += "com.typesafe.play" %% "play-slick" % "3.0.0"
  4. libraryDependencies ++= Seq("mysql" % "mysql-connector-java" % "5.1.36")
  5.  
  6. db.default.driver = com.mysql.jdbc.Driver
  7. db.default.url = "jdbc:mysql://localhost/my_database"
  8. db.default.username = "my_user_name"
  9. db.default.password = "my_password"
  10. play.db {
  11. # The combination of these two settings results in "db.default" as the
  12. # default JDBC pool:
  13. #config = "db"
  14. #default = "default"
  15.  
  16. # Play uses HikariCP as the default connection pool. You can override
  17. # settings by changing the prototype:
  18. prototype {
  19. # Sets a fixed JDBC connection pool size of 50
  20. #hikaricp.minimumIdle = 50
  21. #hikaricp.maximumPoolSize = 50
  22. }
  23. }
Add Comment
Please, Sign In to add comment