I'm triyng to connect to mysql db with .net in c# for a .net web application
I've tryed this connection
OdbcConnection cConn = new OdbcConnection(sqlConnectionString);
with this connection string
string sqlConnectionString = "Driver={MySQL};SERVER=localhost;DATABASE=test ; user id=root; password=test;";
but I keep getting this erorr
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
After getting to this point its bugging me to hell now. Looked up a lot of formus on this error but none seemed to help. If someone could point me to anything that would help, it would be greatly appreciated