Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3953

What exactly does IsConnected do?

$
0
0

What exactly does IsConnected do?

I ask because since we started using If Not db.IsConnected Then db.Connect in our code, our database seems to start getting

Can’t connect to MySQL server on ‘…’ (10060)

errors after a short period of time.

We can’t be sure (it would be hard to explain why), but it seems that these messages only started appearing when we started using this new IsConnected feature.

Before using this new feature, we only used db.Connect after a minimum timeout at important points in the code. Back then, we didn’t have any 10060 errors.

6 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3953

Trending Articles