How to Reset a MongoDB Replica Set
Prerequisites If you're a MongoDB Database Administrator (DBA), you might encounter situations where you need to reset a MongoDB replica set. This can be necessary for various reasons, such as…
Prerequisites If you're a MongoDB Database Administrator (DBA), you might encounter situations where you need to reset a MongoDB replica set. This can be necessary for various reasons, such as…
pg_log $PGDATA/pg_log is the default location for the database activity logs, which include error messages, query logging, and startup/shutdown messages. This is where you should first look for information when PostgreSQL…
Error 1: BACKENDERROR Check /etc/hosts file for correct entries.Check which node is Primary (10.0.90.1 - in my case )and Secondary (10.0.90.2 - in my case) by using show pool_node or…
Installing PIP openpyxl is a packages name in below example. python -m pip install openpyxl Sample Output :\Users\********>python -m pip install openpyxl WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after…
It's always recommended to use a virtual environment while running Python programs/applications where you need different Python packages to be installed using pip. Different Python projects need different python libraries.…
Check current python version : - python --versionLogin as root user : - sudo suExecute: update-alternatives --install /usr/bin/python python /usr/bin/python3 1Check python version again: python --versionYour default python is changed.