MCPcopy
hub / github.com/PyMySQL/PyMySQL / example.py

File example.py

example.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env python
2import pymysql
3
4conn = pymysql.connect(host="localhost", port=3306, user="root", passwd="", db="mysql")

Callers

nothing calls this directly

Calls 4

cursorMethod · 0.80
executeMethod · 0.80
connectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected