From: "Marcelo (PC)" Date: 2005-02-15T10:22:02+09:00 Subject: Re: Connecting Ruby to MySQL in Windows Thanks!! ----- Original Message ----- From: "Joao Pedrosa" To: "ruby-talk ML" Sent: Monday, February 14, 2005 3:18 PM Subject: Re: Connecting Ruby to MySQL in Windows > Hi, > > On Tue, 15 Feb 2005 06:34:50 +0900, Marcelo (PC) > wrote: >> Hello there! >> >> I'm just started with Ruby and I would like to connect to MySQL using >> Windows.. However, when I run the next statement: >> >> C:\mysql-ruby-2.5>ruby extconf.rb >> >> I get the following: >> >> checking for mysql_query() in mysqlclient.lib... no >> checking for main() in m.lib... yes >> checking for mysql_query() in mysqlclient.lib... no >> checking for main() in z.lib... no >> checking for mysql_query() in mysqlclient.lib... no >> checking for main() in socket.lib... no >> checking for mysql_query() in mysqlclient.lib... no >> checking for main() in nsl.lib... no >> checking for mysql_query() in mysqlclient.lib... no >> >> I have installed the latest Ruby version, as well as the MySQL engine. >> Any >> idea whats happening? > > Use the pure Ruby mysql driver on Windows: > http://raa.ruby-lang.org/project/ruby-mysql/ > > Or try to find an already compiled driver. Because it's to hard to > compile it by ourselves. I tried it yesterday. Maybe I could try to > find a better MySQL version to compile against. Anyway, don't lose > sleep over this. :-) > > Cheers, > Joao > > > -- > Este correo esta libre de virus! > -- Este correo esta libre de virus!