mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
6 lines
181 B
Python
6 lines
181 B
Python
import pymysql
|
|
connection = pymysql.connect(host="localhost", user="user", password="passwd")
|
|
|
|
cursor = connection.cursor()
|
|
cursor.execute("some sql", (42,)) # $ getSql="some sql"
|