Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT 5.14.1 connection with MySQL 8.0 issue (driver works fine)
Agil.Mammadzada last edited by Agil.Mammadzada
I solved all issues related to driver, but still can not connect to MySQL. Qt creator not showing any error messages. While checking if db is open() getting false.
JonB last edited by
If it's really showing no error messages, how do we know whether the server/name/credentials what you are passing to
QSqlDatabase::open()are correct? After it returns false, what does https://doc.qt.io/qt-5/qsqldatabase.html#lastError tell you?
Agil.Mammadzada last edited by
@JonB I have checked it few times and even tried to connect via VS, with Visual Studio, it worked perfect and took 2 min to set it up. thank you for the functions, I will check it out