FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    How to connecting to a database in a cluster PostgreSQL?

    Scheduled Pinned Locked Moved
    Q&A
    0
    3
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aivanov
      last edited by

      Hello!
      We have a postgresql cluster on Amazon Aurora
      We set the configuration as: DATABASE_URL = jdbc: postgresql: // postgres_master: 5432, postgres_slave: 5432 / fusionauth
      But we get an error at the start of the application:
      PM ERROR com.inversoft.maintenance.db.JDBCURL - Could not parse jdbcString
      Has anyone had a similar configuration? How to register a connection to a db cluster in fusionauth?

      1 Reply Last reply Reply Quote 0
      • robotdanR
        robotdan
        last edited by

        This looks to be the correct syntax. https://jdbc.postgresql.org/documentation/94/connect.html

        It may be that our JDBC string parsing needs to be updated to support this use case.

        A more common use case is that FusionAuth is connecting to a managed service that is clustered and the failover capabilities are managed through a single JDBC host connection.

        You could open a Github Issue to support this type of JDBC string.

        1 Reply Last reply Reply Quote 0
        • danD
          dan
          last edited by

          @aivanov here's the link to create the issue: https://github.com/fusionauth/fusionauth-issues/issues

          If you create this, please reference this forum post so the implementor has more context.

          --
          FusionAuth - Auth for devs, built by devs.
          https://fusionauth.io

          1 Reply Last reply Reply Quote 0
          • First post
            Last post