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

Error: database "postgres" does not exist

Scheduled Pinned Locked Moved Unsolved
General Discussion
1
1
1.8k
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.
  • V
    vguidry
    last edited by 29 Oct 2024, 18:19

    Hi I am having issues getting started with self-hosted FusionAuth on a DigitalOcean droplet connecting to a managed database cluster also run by DO. When I SSH into the droplet and use psql, I am able to successfully connect to the database. Yet maintenance mode tells me it cannot connect to the database.

    So I attempted to use silent mode, which also failed, but when I looked at the logs it was throwing Error: database "postgres" does not exist. The connection string in the properties file is:

    database.url=jdbc:postgresql://dbaas-db-7248475-do-user-18093844-0.l.db.ondigitalocean.com:25060/fusionauth
    

    So why is it trying to connect to postgres rather than fusionauth?

    1 Reply Last reply Reply Quote 0
    • V vguidry marked this topic as a question on 1 Nov 2024, 14:50
    1 out of 1
    • First post
      1/1
      Last post