Computer Science

To disconnect database connection, use connect() method.

Python MySQL

1 Like

Answer

False

Reason — The correct method to disconnect from a database connection is connection.close() or cursorobject.close(). On the other hand, the connect() method is used to establish a connection to the database.

Answered By

1 Like


Related Questions