Which function/method do you use for establishing connection to database ?
3 Likes
The connect() function of mysql.connector is used for establishing connection to a MYSQL database.
Answered By
What is a result set ?
What is the package used for creating a Python database connectivity application.
Which function/method do you use for executing an SQL query ?
Which method do you use to fetch records from the result set ?