进行了 GVSDSDK 迁移,可能存在诸多问题
This commit is contained in:
13
show_tables.py
Normal file
13
show_tables.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import MySQLdb
|
||||
|
||||
conn = MySQLdb.connect(
|
||||
host='gvsds.com', port=50030, user='root',
|
||||
password='sajksh.sdfGH3YUge.wjkd+',
|
||||
database='xaio_cheng_xu', charset='utf8mb4'
|
||||
)
|
||||
cur = conn.cursor()
|
||||
cur.execute("SHOW TABLES")
|
||||
for row in cur.fetchall():
|
||||
print(row[0])
|
||||
cur.close()
|
||||
conn.close()
|
||||
Reference in New Issue
Block a user