这是我第一次尝试使用wildfly将我的应用程序部署到远程服务器,似乎我成功了,但现在我无法连接创建的数据库。野蝇说
Connection URL = jdbc:postgresql:/var/run/postgresql:5432
,
我用这个字符串来连接
<property name="connection.url">jdbc:postgresql:/var/run/postgresql:5432?currentSchema=myshema&user=user&password=pass</property>
为此我得到
Connection error: : org.postgresql.util.PSQLException: FATAL: database "/var/run/postgresql:5432" does not exist
在日志中。我做错了什么?