Skip to content

Instantly share code, notes, and snippets.

VirajWadate

Block or report user

Report or block VirajWadate

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View config.ini
[dev]
host = 127.0.0.1
user = root
password = root
database = test
View connect_mysqldb.py
# -*- coding: utf-8 -*-
"""
Purpose: Connect to mysql database using config file.
"""
from __future__ import unicode_literals
from __future__ import print_function
import configparser
import mysql.connector
You can’t perform that action at this time.