I have a program that access MySQL.

I use the following method to connect to MySQL.



void ConnectDB()
{
HENV hEnv = NULL;
HDBC hDBC = NULL;