hi
i need to show all databases in my mysql engine
1-open database is ok,
QSqlQuery get_query(QSqlDatabase::database("MY_DB_1")); get_query.prepare("show databases");
get_query.exec(); // is ok
get_query.size(); // = -1 ??? i have many databases
but in mysql command 'cmd' , the query 'show databases' is run normal and show all databases;
what is the problem??
plase help me.![]()
Bookmarks