---
title: "Discussion on \"How to connect  MySQL database in Python\" | Hashnode"
description: "Discussion on \"How to connect  MySQL database in Python\". Using the MySQLdb database connector"
url: "https://hashnode.com/posts/how-to-connect-mysql-database-in-python/638d09058176840f0b51ba77"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to connect MySQL database in Python](https://blog.ehoneahobed.com/how-to-connect-mysql-database-in-python?utm_source=hashnode&utm_medium=feed)

Using the MySQLdb database connector

Dec 4, 2022 · 6 min read · blog.ehoneahobed.com  
Updated Aug 24, 2023  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#python-libraries](https://hashnode.com/tag/python-libraries)

## Written by

[Dr. Ehoneah Obed](https://hashnode.com/@ehoneahobed)

@ehoneahobed

  
[View profile](https://hashnode.com/@ehoneahobed)

Software and AI engineer, health informatician, and registered pharmacist. I write about what I build and what I learn.

Heya! 👋 I love helping people, and one of the best ways I do this is by sharing what I learn and build. I started as a pharmacist at a tertiary hospital in Northern Ghana, where I saw how much technology could improve healthcare. That sparked my interest in digital health. I taught myself to code, then joined the ALX Software Engineering program, which became a turning point. I went on to complete a Master of Health Informatics at the University of Toronto. Today I am a software and AI engineer and a health informatician, and I practise remotely as a Digital Health Pharmacist. I combine clinical experience with technical skills to build tools that solve real problems in health and beyond, and I write here about what I build and what I learn.

## Responses 1

Markdown supported · ⌘↵ to post

[Chioma](https://hashnode.com/@Chiomcee)

[Sep 6, 2023](https://hashnode.com/posts/how-to-connect-mysql-database-in-python/638d09058176840f0b51ba77/comment/64f7c6b6139d4c9cb611417c)

I love the way you break the concept and made it easier for anyone to understand.
