Fix documentation for MySQL instrumentation (#665)
This commit is contained in:
parent
0e5853b0c6
commit
984f5cd2d3
|
|
@ -30,7 +30,7 @@ Usage
|
||||||
|
|
||||||
cnx = mysql.connector.connect(database="MySQL_Database")
|
cnx = mysql.connector.connect(database="MySQL_Database")
|
||||||
cursor = cnx.cursor()
|
cursor = cnx.cursor()
|
||||||
cursor.execute("INSERT INTO test (testField) VALUES (123)"
|
cursor.execute("INSERT INTO test (testField) VALUES (123)")
|
||||||
cursor.close()
|
cursor.close()
|
||||||
cnx.close()
|
cnx.close()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue