Home > Software engineering >  ODBC to connect the MySQL database error
ODBC to connect the MySQL database error

Time:11-09

Doing a project recently, need to use ADO to connect to the database by using the method of the ODBC driver loaded, the data source with good also test succeeded, the header file stdafx. H joined the
# import "C:/Program Files/Common Files/System/ado/msado15. DLL" no_namespace rename (" EOF ", "adoEOF")
But enforcement m_pConnection - & gt; Open (" DSN=mysqladv; Server=192.168.115.26;" , "root", "spkte", adModeUnknown);
Will jump out of the wrong [Microsoft] [ODBC driver manager] did not find the data source name and did not specify a default drive, tried various methods of online or not, actually how to solve?

CodePudding user response:

the ODBC connection MySQL


CodePudding user response:

Should system and the problem to do the system
  • Related