MYSQL_OPT_CONNECT_TIMEOUT
Unsolved
General and Desktop
-
Hi guys, i need your help about the function QSqlDatabase with the option "MYSQL_OPT_CONNECT_TIMEOUT" .
My problem is : i need to connect to a database with my app. But when i can't access to my database the app still bug and need to close it. So i tried the this option connect_timeout but don't work at all.
Thank in advance for your help :) -
How did you set MYSQL_OPT_CONNECT_TIMEOUT?