我收到了这条消息:
{{1}}
我的配置如下所示:
{{1}}
如何更改此选项以删除警告?
感谢
答案 0 :(得分:4)
尝试以下方法:
slick.dbs.default.profile = "slick.jdbc.MySQLProfile$"
slick.dbs.default.db.driver = "com.mysql.jdbc.Driver"
slick.dbs.default.db.url = "jdbc:mysql://"
slick.dbs.default.db.user = ""
slick.dbs.default.db.password = ""
HOCON格式中的相同内容:
slick {
dbs {
default {
profile = "slick.jdbc.MySQLProfile$"
db {
driver = "com.mysql.jdbc.Driver"
url = "jdbc:mysql://"
user = ""
password = ""
}
}
}
}