[Answered ]-Unhandled exception in thread started

2👍

MySQLdb does not support Python 3.

There are other clients available though.

You can use mysqlclient. Which is a fork of MySQLdb.

0👍

The MySQLdb package you are using is not Python 3. It is a Python 2 package. In Python 2 you can raise an error as you see at the bottom of this stack trace. In Python 3 it should be:

raise errorclass(errorvalue)

Leave a comment