How to connect to MySQL using Python on Linux

In this article, we will see how to connect to MySQL using Python on Linux.In this article, we will connect to MySQL Server from python using mysql-connector. Connect to Python contains below steps.

1. Install mysql connector.
2. Create connection variable in python script file.
3. Execute command on MySQL Server using python script file.

Connection to MySQL using Python Steps:

Step1: Install mysql connector.
Continue reading How to connect to MySQL using Python on Linux

Step by Step MongoDB Replication setup on Windows

In this article, we will see Step by Step MongoDB Replication setup on Windows. We are going to add 1 Primary and 2 Secondary servers to replica Set.

What is replication?
Replication is a way of keeping identical copies of data on multiple servers and it is recommended for all production deployments.

Step by Step MongoDB Replication setup on Windows1
Continue reading Step by Step MongoDB Replication setup on Windows