KnowledgeBoat Logo
|

Computer Science

Why do we use connect() function?

Python MySQL

3 Likes

Answer

The connect() function is used to establish a connection to the MySQL database from a Python application. It returns a MySQLConnection object, which we can then use to perform various operations on the MySQL database.

Answered By

3 Likes


Related Questions