Unsolved QT 5.14.1 connection with MySQL 8.0 issue (driver works fine)
-
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.
-
@Agil-Mammadzada
If it's really showing no error messages, how do we know whether the server/name/credentials what you are passing toQSqlDatabase::open()
are correct? After it returns false, what does https://doc.qt.io/qt-5/qsqldatabase.html#lastError tell you? -
@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