",
"url" -> "jdbc:mysql://192.168.18.106:3306/rpt",
"username" -> "test",
"password" -> "...test"
)
// for prod env
val mysqlConfProd = collection.mutable.Map(
"driver" -> "com.mysql.jdbc.Driver...",
"url" -> "jdbc:mysql://hostname:3306/rpt?...autoReconnect=true",
"username" -> "xxxx",
"password" -> "xxxxx"
)
/**
* 创建mysql连接...collection.mutable.Map[Int, (String, Int, Int ,String ,String)] = {
// connect to the database named "mysql