Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
C#
connectionString="DRIVER={MySQL ODBC 3.51 Driver};Server=localhost;Database=csa_tool;Port=3306;UID=root;PWD=;"
        providerName="System.Data.Odbc"/>



i am using this connection string in web.config file to connect mysql database.

the error occurred during the compile time is
"ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified "
Help me.
Posted
Comments
StianSandberg 17-Jul-12 8:04am    
http://www.connectionstrings.com/

1 solution

You need to install the MY SQL driver in your system..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900