数据源没有mysql驱动程序,MySQL的ODBC问题:数据源名称未找到和指定默认驱动程序...

在尝试在64位Windows 7环境中运行经典ASP应用程序时,遇到ODBC数据源连接到MySQL实例的问题。错误提示为'数据源名称未找到和指定默认驱动程序'。已尝试使用不同版本的MySQL Connector/ODBC,并调整了IIS应用池设置,但问题依旧。最终发现应用中混合使用了命名和未命名的数据源(DSN/DSN-Less),通过在Visual Studio中设置调试并创建所需的DSN,解决了问题。此外,还需要修改my.ini文件中的SQL模式设置。
摘要由CSDN通过智能技术生成

I'm currently trying to run a classic ASP application which I've been given source code for. I want to set up on my 64bit Windows 7 dev machine and am having trouble with an ODBC based data connection to a MySQL instance.

I'm seeing the error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found

and no default driver specified

/includes/.asp, line 100

What I've tried:

The connection is DSN-less.

The application is running under IIS app pool with local system permissions. w3wp.exe can be seen running under NT AUTHORITY/SYSTEM in process monitor.

The application is running under IIS app pool with 32 bit applications allowed to run.

Have tried with Connector/ODBC 5.1.10 64 bit version only installed from http://dev.mysql.com (At th

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值