KnowledgeBoat Logo
|

Computer Science

To open a connector to MySQL database, which statement is used to connect with MySQL?

  1. connector
  2. connect
  3. password
  4. username

Python MySQL

1 Like

Answer

connect

Reason — The connect() function establishes a connection to the MySQL database from Python application and returns a MySQLConnection object, which we can then use to interact with the database.

Answered By

3 Likes


Related Questions