This repository contains a Python script that demonstrates how to connect to data base, create table and database and interact with a MySQL database using the mysql-connector-python library. The script includes functionality to connect to a database, execute queries, and handle results efficiently
Prerequisites
- Python 3.6 or higher
- MySQL server
- mysql-connector-python library installed.
To install mySql server visit https://dev.mysql.com/downloads/installer/
for latest python versen visit https://www.python.org/downloads/
for mysql-connector-python run in terminal (python -m pip install mysql-connector-python)
more about MySQL Connector Python visit https://www.w3schools.com/python/python_mysql_getstarted.asp
Contribution
Contributions are welcome! If you find a bug or have an idea for improvement, feel free to submit an issue or a pull request.