This commit is contained in:
parent
9e70b0c842
commit
20c6202d28
|
@ -16,6 +16,7 @@ def mysql_query(sql):
|
|||
return data
|
||||
|
||||
def mysql_execute(sql):
|
||||
print("execute: %s" % sql)
|
||||
db = pymysql.connect("localhost","root","123456789","sparkproject" )
|
||||
cursor = db.cursor()
|
||||
|
||||
|
|
Loading…
Reference in New Issue