remorses / planetscale-to-supabase

Script to migrate Mysql data and schema to Supabase
66 stars 4 forks source link

Invalid Postgres connection URI #5

Closed KirschX closed 2 months ago

KirschX commented 2 months ago

◇ What is your Supabase connection URI?

(postgresql://pos~~.)

Error: Invalid Postgres connection URI at main (/Users/~/.npm/_npx/5c9413c17/node_modules/migrate-planetscale-to-supabase/dist/index.js:66:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I typed the connection URI retrieved from supabase, but this error happens.

What's the problem??

KirschX commented 2 months ago

problem solved after changing prefix 'postgresql' to 'postgres'