>>Does "call toto()" work from the command line of your MySQL shell?
Yes it does.

As my program is currently a test, I have before the stored procedure test another database connexion test (a simple request which works). If I use the same QSqlQuery for both but create a new variable to hold the size of the result (numRows2), the call to query.lastQuery returns "CALL toto()" but the call to query.executedQuery return the previous request (which was successful), and numRows2 returns -1 (which is coherent). Nevertheless, the return of the exec function is true and the query.lastError() does not return anything.

All this is really weird. I guess it is not a MysqlDriver issue otherwise no request would have worked.

Lynn