terminate called after throwing an instance of 'pqxx::broken_connection'
what(): could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
This error was produced with the following connection string:
user=postgres password=asdf hostaddr=192.168.1.132 dbname=postgres
Changing this connection string to the following seems to have solved the problem:
user=postgres hostaddr=192.168.1.132 password=adsf dbname=postgres
Maybe password keyword must not be in front of hostaddr?
Previous:
libVLC is not playing any video on Windows
Next:
pqxx::undefined_table and pqxx::undefined_column