Function MySQLdb.connect and Cursor method execute raise an________exception when they fail.

a) MySQLdb.DatabaseError.
b) MySQLdb.OperationalError.
c) MySQLdb.DBError.
d) None of the above.


b) MySQLdb.OperationalError.

Computer Science & Information Technology

You might also like to view...

What number is now at the front of the queue?

A queue performs the following commands (in pseudo-code): enqueue 4, 6, 8, 3, 1 dequeue three elements enqueue 3, 1, 5, 6 dequeue two elements a. 3 b. 4 c. 5 d. 6

Computer Science & Information Technology

What is the difference between the CLR and the Dalvik virtual machines?

A. Nothing B. Operating systems they are used on C. Transparency D. Location in the platform stack

Computer Science & Information Technology

Operators such as > (greater than) or < (less than) are called ________ operators

Fill in the blank(s) with correct word

Computer Science & Information Technology

Briefly describe Per Processor Licensing.

What will be an ideal response?

Computer Science & Information Technology