R. Mark Volkmann
4/2/2005 1:57:00 PM
Quoting Kirk Haines <khaines@enigo.com>:
> R. Mark Volkmann wrote:
>
> > Can it really be this hard to access MySQL from Ruby running under
> > Windows?
> >
> > Several people have emailed suggestions to me, but none are as simple as
> > 1) download file x from site y
> > 2) unzip file x
> > 3) run this command to install it
> > 4) use this API to access a MySQL database
>
> Yes, it is. I have MySQL running _right now_ on a WinXP box, accessed
> through Ruby and DBI, and it was as simple as installing the one-click Ruby
> installation. Installing ruby-mysql, and then installing dbi. Simple.
If you go the RAA and search for MySQL, there are three different packages
called mysql-ruby. If I understand correctly, one is for Windows using DBI,
another is for everything else using DBI and the third is for every platform,
but not using DBI.
Can you tell me the URL of the mysql-ruby package that worked for you under
Windows? Do the installation instructions documented at the URL work for you
without modification?
--
R. Mark Volkmann
Partner, Object Computing, Inc.