#Unable to create R2DBC connection factory for postgres

1 messages · Page 1 of 1 (latest)

winter current
#

I have specified the following in application.yml to be picked up by the auto configuration:

  r2dbc:
    username: ${POSTGRES_USER}
    password: ${POSTGRES_PASSWORD}
    url: r2dbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?currentSchema${POSTGRES_SCHEMA}&useUnicode=true&characterEncoding=UTF-8

When I start the Spring boot application I get the following exception at the log.

Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={database=docshare, host=localhost, driver=postgresql, useUnicode=true, characterEncoding=UTF-8, password=REDACTED, port=5433, user=docshare-user}}'. Available drivers: [ pool ]
viral oasisBOT
#

<@&1004656351647117403> please have a look, thanks.