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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -