NeonN
Neon2y ago
10 replies
clean-aquamarine

Error trying to populate database from a local .sql file

I recently cloned a database locally using the pg_dump command, the file being around 12G.
I'm trying to populate this data onto my neon database using the psql command

psql <connection string> < database-dump.sql

However I keep getting the error while its in the proccess of completing.

ALTER TABLE
COPY 0
COPY 0
COPY 268
COPY 6
COPY 0
COPY 0
COPY 103792
COPY 1
SSL error: sslv3 alert bad record mac
invalid socket
connection to server was lost

How is this typically handled? What can I do to get this to work?
Was this page helpful?