JDBC无法在OpenShift上连接到mysql数据库

JDBC无法在OpenShift上连接到mysql数据库,第1张

JDBC无法在OpenShift上连接到mysql数据库

This is incorrect:

jdbc:mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/burgerjoint

That dollar sign suggests that you think a proper host and database name will
be substituted, but that’s not the case.

Code the host and database name to see that it works, then learn about
.properties files to externalize it.



欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/4941335.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-13
下一篇 2022-11-13

发表评论

登录后才能评论

评论列表(0条)

保存