-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
same here, i used to be able to connect to my DB, but no i can't anymore because the i guess the good fellas from supabase messed something up, need more testing before deploying i think |
Beta Was this translation helpful? Give feedback.
-
I reached out to support via email and they resolved the issue for me. Here is the information I entered in my ticket: `Ticket name: get_auth function missing from pgbouncer schema After some research I discovered that the get_auth function of the pgbouncer schema is missing which is preventing me from being able to authenticate against the database. Attached is a screenshot from Supabase Studio showing the pgbouncer schema on the broken database with no functions created. Also attached is a screenshot from another database in another hosted project where the get_auth function exists. supabase link --project-ref PROJECT_REF I attempted to create this function using the web app SQL Editor, but got a response that my permission to do this is restricted. CREATE OR REPLACE FUNCTION pgbouncer.get_auth(username TEXT) RETURNS TABLE(username TEXT, password TEXT) AS $$ I need that function added back to the pgbouncer schema.` |
Beta Was this translation helpful? Give feedback.
-
I'm having this same issue, but since i have a free plan I'm not sure if they will even answer me, is there something I can do?, can't even connect to the database to generate a backup, please I need help, my project is already in production and I can't connect to the storage because of this get_auth function missing |
Beta Was this translation helpful? Give feedback.
I reached out to support via email and they resolved the issue for me.
Here is the information I entered in my ticket:
`Ticket name: get_auth function missing from pgbouncer schema
Project reference: YOUR_PROJECT_REFERENCE
Organization slug: YOUR_ORGANIZATION_SLUG
Allow support access: true
Severity: Normal
Type: Database unresponsive
Ticket description: I first discovered this when trying to link a local db instance to a hosted db instance. It failed. See detailed error output below.
After some research I discovered that the get_auth function of the pgbouncer schema is missing which is preventing me from being able to authenticate against the database.
Attached is a screenshot from Supa…