为什么我不能使用wildfly 数据连接到数据库?

时间:2021-04-03 01:18:52

标签: database postgresql deployment jboss wildfly

这是我第一次尝试使用wildfly将我的应用程序部署到远程服务器,似乎我成功了,但现在我无法连接创建的数据库。野蝇说

Connection URL = jdbc:postgresql:/var/run/postgresql:5432,

我用这个字符串来连接

<property name="connection.url">jdbc:postgresql:/var/run/postgresql:5432?currentSchema=myshema&amp;user=user&amp;password=pass</property>

为此我得到

Connection error: : org.postgresql.util.PSQLException: FATAL: database "/var/run/postgresql:5432" does not exist

在日志中。我做错了什么?

0 个答案:

没有答案
相关问题