Home > database >  Qt access MySQL failure
Qt access MySQL failure

Time:02-03

Recent upgrade mysql to 5.7.32, encounter problems as follows:
Qt open the database;
QString szSql=QString (" show create table test);
QSqlQuery query (m_pDB);
Executing the query. The exec (szSql); , the exec () returns true, next () returns false, the later has examined the query. The size (), the return value is 1.
QSqlError return value is "";
Excuse me, how to solve???
  • Related