I'm a beginner building a Java environment, but I'm stuck I'm having trouble connecting Mysql database and Playfreamwork. Continue to fight
environment MacOs catalina Java15 sbt 1.4.1 scala 2.13.3 mysql5.6.47
build.sbt
name := """play-scala-seed"""
organization := "com.example"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.13.3"
libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "5.0.0" % Test
libraryDependencies += jdbc
libraryDependencies += "mysql" % "mysql-connector-java" % "5.6.47"
application.conf
db.default.driver=com.mysql.jdbc.Driver
db.default.url="jdbc:mysql://localhost/play-scala-seed"
db.default.username=username
db.default.password="password"