PyQt5: QMYSQL driver not loaded
Unsolved
General and Desktop
-
I installed PyQt5 using homebrew. I tried connecting to sqlite and it works but when I try to connect to MySQL this error appears already tried googling on how to build mysql driver for PyQt5 no luck.
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE -
Hi,
It's not the problem of PyQt5. The Qt version you are using only provides the SQLite plugin it seems. You should check with homebrew whether they provide other Qt SQL plugins.