c# - DbConnection::Open hangs, in case of unreachable server -


i have c++ application uses c# api access 1 mysql database. in case connection successful, retry reconnect ontimer event. problem if ip of server not found, second or third time try connect database with: dbconnection::open, application freezes , following message box displayed: server busy

if press retry, exception raised: first-chance exception @ 0x754fc54f (kernelbase.dll) in myprogram_d.exe: 0xe0434352 (parameters: 0x80004005, 0x00000000, 0x00000000, 0x00000000, 0x711d0000). connection string: uid=userid;password='password';connection timeout=10; pooling= false;

do know might go wrong , open function not return?


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -