conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
# It happend because you are not running
service postgresql status # to check the status of database
# if it's Active: inactive the you are getting this error.
# to over ride this error you should up and run server
service postgresql start
Also in C++:
- change wallpaper command line linux
- get date whit batch
- debian install killall
- remove docker container
- rm recursive file pattern
- apt see installed packages
- scp copy recursive
- git branch specific files
- osp it digital solutions
- how to create a junction between folders
- sbt scala install ubuntu
- how to change hostname in ubuntu
- error loading mysqldb module.
- hello world powershell
- check bluetooth radio status bash
- Uninstall Expo CLI
- how to install rebar3
- what all should be added to gitignore for django project
- git reset change in one file
- linux backup ftp
- linux command to view file
- git create branch from tag
- linux remove large folder
- linux history command