Challenge

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)

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.