Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
2
import
pymysql
3
4
conn = pymysql.connect(host=
"localhost"
, port=3306, user=
"root"
, passwd=
""
, db=
"mysql"
)
Callers
nothing calls this directly
Calls
4
cursor
Method · 0.80
execute
Method · 0.80
connect
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected