Skip to content

Instantly share code, notes, and snippets.

Avatar
💚
Nurturing my little GitHub garden

Simranjeet Singh smrnjeet222

💚
Nurturing my little GitHub garden
View GitHub Profile
@smrnjeet222
smrnjeet222 / python_mysql.py
Created Jul 17, 2020 — forked from bradtraversy/python_mysql.py
Python & MySQL crash course for beginners
View python_mysql.py
import mysql.connector
from mysql.connector import errorcode
config = {
'user': 'root',
'password': '',
'host': 'localhost',
'database': 'acme'
}