Class 12th CBSE CS
Write a Code to Connect Python with MYSQL.
Solution: –
import mysql.connector as cn s = cn.connect( host = "localhost", user = "root", passwd = "root", database = "bank", auth_plugin="mysql_native_password") if s.is_connected(): print("Connected Successfully") else: print("Connected Unsuccessfully")

Fun & Easy to follow

Works on all devices

Your own Pace

Super Affordable
Popular Videos

UX for Teams
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer

SEO & Instagram
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer