stackexchange-dump-to-postgres
stackexchange-dump-to-postgres copied to clipboard
Unable to generate a SQL file
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"?