( PostgreSQL Checker )
This is specially made to check your database whether it is connected or not. Using psycopg2 #Python.
# Clone this repository
- git clone https://github.com/unknownkz/psql-connect
# Change directory
- cd psql-connect
# Install requirements
- pip3 install -qq -r dev-req.txt
# GNU nano text editor
- nano database.ini # see example and save file.
# Execute
- python3 connected.py
- Following shows the content:
[postgresql]
host=localhost
database=yourdatabase
user=postgres
password=YourP4ssword$
- The MIT License 2022 Unknown