import mysql.connector as myc mycon=myc.connect( host:'localhost', user:'cloudhos_aniketpy', password:'Aniket@123' database:'cloudhos_aniketpy') mycur=mycon.cursor() mycur.excute("insert into demo values(2,'Aniket2','b1')") mycur.commit()