Get the default MySQL ‘CONNECT_TIMEOUT’ value
Unsolved
General and Desktop
-
Qt's doc tell us we can use
QSqlDatabase::setConnectOptions()
to set the various options for the connection. But how to get the default options of the connection before set them? I triedQSqlDatabase::connectOptions()
, but it returns empty string.Does Qt support getting the default connection options?
-
Hi,
AFAIK, Qt uses default values that one can see in the documentation.