Unsolved MYSQL_OPT_CONNECT_TIMEOUT
-
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?
-
@jsulm I just want to know, how to use it. Maybe an exemple can help me. I don't know how it's works
-
Hi,
it's all described here