stackexchange-dump-to-postgres icon indicating copy to clipboard operation
stackexchange-dump-to-postgres copied to clipboard

Unable to generate a SQL file

Open BakulTessell opened this issue 2 years ago • 0 comments

I just want to generate the SQL files from XML. Is that possible? I ran the below command.

$ python3 load_into_pg.py -t Badges  -f Badges.xml
This will drop the Badges table. Are you sure [y/n]?y
Error in dealing with the database.
pg.Error (None): None
could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

BakulTessell avatar Mar 12 '22 05:03 BakulTessell