import mysql.connector

con = mysql.connector.connect(host="localhost",user="root",password="",database='dbs') #connection

cur = con.cursor()

#Check if Table Exists

cur.execute("show tables")


for x in cur:
    print(x)



1210cf5dbb6538f24fe247108ef6ac8f77eb89a0
<mask token>

<mask token>
cur.execute('show tables')
for x in cur:
    print(x)

<mask token>
con = mysql.connector.connect(host='localhost', user='root', password='',
    database='dbs')
cur = con.cursor()
cur.execute('show tables')
for x in cur:
    print(x)

import mysql.connector
con = mysql.connector.connect(host='localhost', user='root', password='',
    database='dbs')
cur = con.cursor()
cur.execute('show tables')
for x in cur:
    print(x)

import mysql.connector

con = mysql.connector.connect(host="localhost",user="root",password="",database='dbs') #connection

cur = con.cursor()

#Check if Table Exists

cur.execute("show tables")


for x in cur:
    print(x)


