ConStr = "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=127.0.0.1;DATABASE=db;UID=id;PWD=pwd;OPTION=3;";
OdbcCon = new System.Data.Odbc.OdbcConnection(ConStr);
OdbcCon.Open();
returns an error on the final line
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
I know it's probably something stupid, but I'd appreciate any help.

New Topic/Question
Reply




MultiQuote






|