QMYSQL problem

Angelo Ballabio angeloballabio at gmail.com
Sun Oct 25 14:48:12 GMT 2020


hi

When I create a virtual environment and loaded PyQt5 into it, I realized
that I cannot access MySQL database through  QSqlDatabase.addDatabase(self.
DBtype), checking I saw that the libsqlmysql.so driver is not present in
the sqldrivers directory along with the others. I tried to search the
internet for the file in question, and nothing on the qt.io website, and
also on mysql.com I can't find the file. if i use the one installed in my
ubuntu 20.10 distribution it tells me that it is not compatible with the
others. In a standard environment its does. Anyone have a solution to
suggest?

Angelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20201025/cbb8b4c0/attachment.htm>


More information about the PyQt mailing list