完成了第二个模块

main
pbqs4lvtu 7 months ago
parent be24181e39
commit 27d5e62e41

@ -0,0 +1,6 @@
import pymysql
con=pymysql.connect(host="localhost",user="root",password="888888")
c=con.cursor()
c.execute("show databases")
r=c.fetchall()
print(r)
Loading…
Cancel
Save