IIS6上的CGI到MYSQL无法正常工作 [英] CGI to MYSQL on IIS6 not working

查看:54
本文介绍了IIS6上的CGI到MYSQL无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。这个脚本我已经在linux / apache上工作了,我的服务提供者告诉我cgi-handler已经正确设置了。我能够将hello world test显示到网页上。当我尝试连接到IIS 6上的mysql数据库时,我的问题出现了。我的脚本如下所示:

展开 | 选择 | 换行 | 行号

解决方案

在使用DBI语句的上方添加此行。

展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap < span class =codeDivider> | 行号


我认为这是我的连接字符串的语法。


Hello all. This script I have did work on linux/apache and my service provider has told me the cgi-handler has been properly set up. I am able to get hello world test to display to a web page. My problem comes in when I try to connect to a mysql DB on IIS 6. My script reads as follows:

Expand|Select|Wrap|Line Numbers

解决方案

Add this line just above the use DBI statement.

Expand|Select|Wrap|Line Numbers


Expand|Select|Wrap|Line Numbers


I think it is the syntax of my connection string.


这篇关于IIS6上的CGI到MYSQL无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆