Run »
×
Change Orientation
import mysql.connector mydb = mysql.connector.connect( host="localhost", user="myusername", password="mypassword", database="mydatabase" ) mycursor = mydb.cursor() mycursor.execute("SHOW TABLES") for x in mycursor: print(x)
('customers',)
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit