MySQL database
-
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
My working MySQL database has started giving me the above error. I do not understand how the database is not loading the driver as it is plainly in sight.
Anyone have any thoughts on how to correct this? Thanks in advance. -
What OS are you on?
This is a question that has been solved numerous times for different OSs https://www.google.co.uk/search?q="QMYSQL+driver+not+loaded"+site%3Aforum.qt.io
-
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
My working MySQL database has started giving me the above error. I do not understand how the database is not loading the driver as it is plainly in sight.
Anyone have any thoughts on how to correct this? Thanks in advance. -
-
Do you have MySQL installed and linked with the mysql lib?
Under windows in most cases the dll for mySQL is not accesible by the application. -
@koahnig
The connection has been working for a couple of months already. Just now not connecting.