Installing DBD::mysql on Windows

| No TrackBacks | Previous

  这是一个困扰我很久的问题,本机上安装 Movable Type 一直使用SQLite数据库, MySQL 数据库是有的,但是由于一直无法安装 DBD::mysql ,使得 Movable Type 无法使用本机的 MySQL 。

  今天又试了一下,成功了!汗~

  打开命令提示符,输入 ppm install DBD-MySQL 直接就安装成功了( ActivePerl 已经安装好了的)。

C:\Perl64>ppm install DBD-MySQL

Downloading ActiveState Package Repository packlist...do
Updating ActiveState Package Repository database...done
Downloading bugzilla packlist...done
Downloading bugzilla AppConfig PPD...done
Downloading bugzilla Chart PPD...done
Downloading bugzilla DBD-mysql PPD...done
Downloading bugzilla DBI PPD...done
Downloading bugzilla GD PPD...done
Downloading bugzilla GDGraph PPD...done
Downloading bugzilla GDTextUtil PPD...done
Downloading bugzilla MIME-tools PPD...done
Downloading bugzilla MailTools PPD...done
Downloading bugzilla PatchReader PPD...done
Downloading bugzilla Template-Toolkit PPD...done
Downloading bugzilla TimeDate PPD...done
Downloading Kobes packlist...done
Updating Kobes database...done
Downloading Bribes packlist...done
Updating Bribes database...done
Downloading bioperl packlist...not modified
Downloading DBD-mysql-4.011...done
Unpacking DBD-mysql-4.011...done
Generating HTML for DBD-mysql-4.011...done
Updating files in site area...done
  12 files installed

但是这在我的32位系统下行不通。尝试下面的方法就好了,比上面多一步:

C:\Users\Administrator>set HTTP_proxy=

C:\Users\Administrator>ppm install DBD-MySQL

Downloading DBD-mysql-4.011...done
Unpacking DBD-mysql-4.011...done
Generating HTML for DBD-mysql-4.011...done
Updating files in site area...done
  12 files installed

set HTTP_proxy= ” 后面什么都不要加,因为我按照那些抄来的文章设置后出错了。

 

本文结束。

No TrackBacks

TrackBack URL: http://www.sothink.cn/cgi-bin/mt-tb.fpl/38

About this Entry

This page contains a single entry by SOTHINK published on September 3, 2009 1:00 PM.

Movable Type 友情链接插件 was the previous entry in this blog.

让MovableType在首页显示特定的Widgets is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.