On Jul 5, 6:00    宮
> After downloading the mysql-ruby-2.8pre4 from
> [http://tmtm.org/downloads/mysql/ruby/]...I stuck it into
> C:\ruby\lib\mysql-ruby-2.8pre4.
>
> The instructions onhttp://www.tmtm.org/en/mysql/ruby/says I need to
> run the command % ruby extconf.rb:
>
> checking for main() in libmysql.lib... no
>
> is the error that I get.
>
> I need to access MySQL with Ruby, but I keep running into all sorts of
> problems!
>
> Thanks for the help!

There is a pre-built gem for mysql-ruby for Windows (since It seems
you're trying to get it running there).

gem install mysql and choose latests version (with mswin32 platform)
if you're asked by rubygems.

HTH,
--
Luis Lavena