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…
Reference in new issue