# Please help install DBI on a Windows systems

**URL:** <https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413>\
**Category:** Ruby\
**Created:** [July 22, 2006, 12:41pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413 "2006-07-22T12:41:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@maz](https://www.ruby-forum.com/u/maz)\
**Post date:** [July 22, 2006, 12:41pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413/1 "2006-07-22T12:41:07Z")

</div>

I’m very frustrated because I’ve just spent the past few hours in the  
middle of the night (the sun is already up) trying to figure out how to  
install DBI for MySQL for Ruby on a Windows system and just failing  
horribly.  
You’d think it would be as simple as moving some files to the proper  
directory and having everything “just work.” Indeed, if it’s more  
complicated than that then I think someone screwed up.  
Anyway, how the hell do I get this thing to work?  
Thank you…

---

<div class="post-metadata">

**Author:** ![maz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@maz](https://www.ruby-forum.com/u/maz)\
**Post date:** [July 27, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413/2 "2006-07-27T18:17:00Z")

</div>

> I’m very frustrated because I’ve just spent the past few hours in the  
> middle of the night (the sun is already up) trying to figure out how to  
> install DBI for MySQL for Ruby on a Windows system and just failing  
> horribly.  
> You’d think it would be as simple as moving some files to the proper  
> directory and having everything “just work.” Indeed, if it’s more  
> complicated than that then I think someone screwed up.  
> Anyway, how the hell do I get this thing to work?  
> Thank you…

Thereâ??s a good tutorial, including installation instructions located  
here [http://www.kitebird.com/articles/ruby-dbi.html](http://www.kitebird.com/articles/ruby-dbi.html).

---

<div class="post-metadata">

**Author:** ![maz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@maz](https://www.ruby-forum.com/u/maz)\
**Post date:** [July 28, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413/3 "2006-07-28T20:26:40Z")

</div>

I can’t help you with DBI. I tried it got it installed and got nothing  
because the MySQL driver refused to load. But you can get going using  
MySQL  
anyway

[http://www.hiveminds.co.uk/node/3097](http://www.hiveminds.co.uk/node/3097)

We have decided to devote part of our time hunting down and aggregating  
information and files like this. Maybe even starting a Newbie forum  
since  
[rubynuby.org](http://rubynuby.org) is not showing any signs of life.

- Tesla

---

<div class="post-metadata">

**Author:** ![maz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@maz](https://www.ruby-forum.com/u/maz)\
**Post date:** [July 30, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413/4 "2006-07-30T15:35:53Z")

</div>

Okay, now there is a tutorial covering DBI and specifically Patricks  
problem  
with installation.

[http://www.hiveminds.co.uk/node/3098](http://www.hiveminds.co.uk/node/3098)

There is also documentation on the DBI methods. The tutorial needs some  
clean up and we are working on some examples and further exploration  
into  
DBI.

You may see me start some threads on where to find some of the database  
drivers like those for Firebird and SQLRelay.

-Tesla

---

<div class="post-metadata">

**Author:** ![maz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@maz](https://www.ruby-forum.com/u/maz)\
**Post date:** [July 30, 2006, 4:22pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413/5 "2006-07-30T16:22:09Z")

</div>

On 7/22/06, Just Another Victim of the Ambient M.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m very frustrated because I’ve just spent the past few hours in the  
> middle of the night (the sun is already up) trying to figure out how to  
> install DBI for MySQL for Ruby on a Windows system and just failing  
> horribly.  
> You’d think it would be as simple as moving some files to the proper  
> directory and having everything “just work.” Indeed, if it’s more  
> complicated than that then I think someone screwed up.  
> Anyway, how the hell do I get this thing to work?  
> Thank you…

If you are using the One-Click Ruby Installer for Windows, then DBI is  
already included, and all you need is the MySQL/Ruby driver for DBI.  
You can pick up an already built binary here:

[http://www.vandomburg.net/pages/mysql-ruby-windows](http://www.vandomburg.net/pages/mysql-ruby-windows)

Curt

---

<div class="post-metadata">

**Author:** ![maz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@maz](https://www.ruby-forum.com/u/maz)\
**Post date:** [July 30, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413/6 "2006-07-30T15:54:05Z")

</div>

tesla wrote:

> Okay, now there is a tutorial covering DBI and specifically Patricks  
> problem  
> with installation.
> 
> [http://www.hiveminds.co.uk/node/3098](http://www.hiveminds.co.uk/node/3098)

You’ll want to pull the source from RubyForge, not SourceForge:

[http://rubyforge.org/projects/ruby-dbi/](http://rubyforge.org/projects/ruby-dbi/)

Also, there’s an entry for ruby-dbi on the RAA:

[http://raa.ruby-lang.org/project/ruby-dbi/](http://raa.ruby-lang.org/project/ruby-dbi/)

Regards,

Dan
