MySQL

Hi,

I have developed the program using thread.
my question is , in thread i have connect the Database and not close the same.

I want to know whether the Database is connected or closed after the thread was killed.

Kindly advice…

Thread Coding :

If mDB.Connect Then
mIsConnected = True
mDB.SQLExecute(Modem1_Sql)

Else
mIsConnected = False

End If