Project 2
import mysql.connector
testdb=mysql.connector.connect(host="127.0.0.1",user="root",password="9912",database="sakila")
testcursor=testdb.cursor()
testcursor.execute("desc language ")
a = testcursor.fetchall()
for b in a:
print(b)
import mysql.connector
testdb=mysql.connector.connect(host="127.0.0.1",user="root",password="9912",database="sakila")
testcursor=testdb.cursor()
testcursor.execute("desc language ")
a = testcursor.fetchall()
for b in a:
print(b)