CBSE Class 12 Computer Science Question 10 of 46

Interface Python with MySQL — Question 5

Back to all questions
5
Question

Question 5

Which function/method do you use for establishing connection to database ?

Answer

The connect() function of mysql.connector is used for establishing connection to a MYSQL database.