CBSE Class 12 Computer Science Question 30 of 47

Interface Python with SQL — Question 8

Back to all questions
8
Question

Question 8

Which function is used to connect to database?

Answer

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