Skip to content

Connect to database with unix socket #765

Open
@kucherenko

Description

@kucherenko

Connect to database with unix socket

Description

I'm trying to connect to database with unix socket and use following property:

DATABASE_URL=jdbc:postgresql://localhost:5432/fusionauth?socket=/path/to/socket

or

DATABASE_URL=jdbc:postgresql:///path/to/socket:5432/fusionauth

But can't connect to the database.

In log I can see following error:

Jul 21, 2020 9:31:22.988 AM INFO com.inversoft.maintenance.db.DatabaseSilentConfigurationWorkflowTask - Attempt 1 of 10. Patiently waiting for database to become available [DOWN].

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportFurther information is requested or user requires assistance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions