Hi
sometimes when my server is down or busy, i get error telling "connection timeout" while connecting to MYSQL. but with the error program also crashes. my question is how can i prevent crashing, it would be better to show a msgbox when this happens. (visual basic 2010)
here is a screenshot of the error
i use this,
Dim connStr As String = "Database=mydatabase;" & _
"Data Source=datasrc;" & _
"User Id=myid;Password=mypass"
Dim connection As New MySqlConnection(connStr)
connection.Open() // i get error here
thank you