Well, how can I then get list of tables inside database? I did this:
m_pQueryTablesList
=new QSqlQuery("SHOW TABLES",
sourceDb);
Q_ASSERT_X(queryTablesList()!=0,
"Table list query allocation",
"Table list query could not be allocated.");
m_pQueryTablesList=new QSqlQuery("SHOW TABLES",
sourceDb);
Q_ASSERT_X(queryTablesList()!=0,
"Table list query allocation",
"Table list query could not be allocated.");
To copy to clipboard, switch view to plain text mode
If I enter identical command into MySQL command line, I get list ok.
Bookmarks