How to use MySQL JDBC driver in an SBT Scala project?
In the SBT project class there should be a line: // Declare MySQL connector Dependency val mysql = “mysql” % “mysql-connector-java” % “5.1.12” This will import the JDBC driver JAR file for MySQL. Did you load the driver? If you use this Util class to fetch the connections, the driver will be loaded exactly one … Read more