[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Connecting to MySQL 4.1.x from Ruby on Windows XP

John Wilger

12/28/2004 2:39:00 PM

Hello,

Is there a library available to allow connections to MySQL 4.1.x from
a Ruby install on a Windows XP machine? I don't have a C compiler on
this machine, so I'm looking for either a pure-ruby solution, or
pre-built binaries.

--
Regards,
John Wilger

-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don't know," Alice answered.
"Then," said the cat, "it doesn't matter."
- Lewis Carrol, Alice in Wonderland


3 Answers

Joao Pedrosa

12/28/2004 2:52:00 PM

0

Hi,

On Tue, 28 Dec 2004 23:38:32 +0900, John Wilger <johnwilger@gmail.com> wrote:
> Hello,
>
> Is there a library available to allow connections to MySQL 4.1.x from
> a Ruby install on a Windows XP machine? I don't have a C compiler on
> this machine, so I'm looking for either a pure-ruby solution, or
> pre-built binaries.

If ODBC is enough, I have connected to MySQL 4.1.x on Windows XP with
it. At the moment, with the changes in the mysql client library
(libclient.dll), I would say that ODBC is the easiest way to connect
to MySQL. :-)

The Ruby installer includes the ODBC driver. The Ruby-ODBC site is at:
http://www.ch-werner.de...

If you need further help, please ask.

Cheers,
Joao


Joao Pedrosa

12/28/2004 2:56:00 PM

0

Hi,

On Tue, 28 Dec 2004 11:51:35 -0300, Joao Pedrosa <joaopedrosa@gmail.com> wrote:
> Hi,
>
> On Tue, 28 Dec 2004 23:38:32 +0900, John Wilger <johnwilger@gmail.com> wrote:
> > Hello,
> >
> > Is there a library available to allow connections to MySQL 4.1.x from
> > a Ruby install on a Windows XP machine? I don't have a C compiler on
> > this machine, so I'm looking for either a pure-ruby solution, or
> > pre-built binaries.
>
> If ODBC is enough, I have connected to MySQL 4.1.x on Windows XP with
> it. At the moment, with the changes in the mysql client library
> (libclient.dll), I would say that ODBC is the easiest way to connect
> to MySQL. :-)

Small correction. I meant libmysql.dll, instead of libclient.dll. Sorry.

>
> The Ruby installer includes the ODBC driver. The Ruby-ODBC site is at:
> http://www.ch-werner.de...
>
> If you need further help, please ask.
>
> Cheers,
> Joao
>


John Wilger

12/28/2004 3:45:00 PM

0

On Tue, 28 Dec 2004 23:51:37 +0900, Joao Pedrosa <joaopedrosa@gmail.com> wrote:
> If ODBC is enough, I have connected to MySQL 4.1.x on Windows XP with
> it. At the moment, with the changes in the mysql client library
> (libclient.dll), I would say that ODBC is the easiest way to connect
> to MySQL. :-)

Thanks, I'll give that a shot.

--
Regards,
John Wilger

-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don't know," Alice answered.
"Then," said the cat, "it doesn't matter."
- Lewis Carrol, Alice in Wonderland