本文介绍了MySql Connector / Odbc 5.2(w)生成异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我最近安装了MySql Server 5.5和MySql Connector / Odbc 5.2。现在,我的旧asp.net在MySql Server 5.1和Odbc Connector 3.51中完美运行,在数据库操作时会产生异常。



生成的异常是: ERROR [IM002] [Microsoft] [ODBC驱动程序管理器]未找到数据源名称且未指定默认驱动程序



我已将连接字符串更改为:

Hi I recently installed MySql Server 5.5 and MySql Connector/Odbc 5.2. Now, my old asp.net which worked perfectly in MySql Server 5.1 and Odbc Connector 3.51 generates an exception upon database operations.

The exception generated is: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I''ve changed the connection string to:

Driver={MySQL ODBC 5.2w Driver};Server=localhost;Database=efloxdb;User=root;Password=admin;Option=3;





文件没有指明任何进一步的变化。谁能找到我的问题的解决方案?任何帮助将不胜感激



The documentations haven''t specified any further changes to be made. Can anyone find a solution to my problem? Any help would be appreciated

推荐答案


这篇关于MySql Connector / Odbc 5.2(w)生成异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 12:35