db = MySQLdb.connect(host="sunucu",user="kullanici",passwd="sifre",db="veritabani") cursor = db.cursor() cursor.execute("insert into.....")