Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help to guide how to access mysql through ruby

14 views
Skip to first unread message

manimuthu4ruby

unread,
May 29, 2012, 2:18:26 AM5/29/12
to
Hi i have ruby 1.9.2
and have installed dbi 0.4.5
when i tried to run a sample ruby file to get mysql version i got following erros.i have referred many sites,cannt clear,Plz guide me.
---------------------------------------------------------------
mmp@mmp-Lenovo-G560:~$ ruby simple.rb
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- parsedate (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/local/lib/site_ruby/1.9.1/dbi/sql.rb:9:in `<module:DBI>'
from /usr/local/lib/site_ruby/1.9.1/dbi/sql.rb:7:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/local/lib/site_ruby/1.9.1/dbi.rb:37:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from simple.rb:4:in `<main>'
---------------------------------------------------------------
Hope u will help me to clear this...


Message has been deleted

Jerry Stuckle

unread,
May 29, 2012, 7:21:58 AM5/29/12
to
You should be asking Ruby support. Nothing here suggests a MySQL
problem, but everything suggests a Ruby problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================

manimuthu4ruby

unread,
May 29, 2012, 8:16:23 PM5/29/12
to
Thanks for ur reply.
have installed dbi to connect ruby with mysql...But still cannt connect..
How to connect to ruby with mysql.......


Jerry Stuckle

unread,
May 29, 2012, 10:01:34 PM5/29/12
to
You do have a MySQL server installed and running, don't you?

manimuthu4ruby

unread,
May 30, 2012, 1:36:21 PM5/30/12
to
yes i have mysql and running well..


Jerry Stuckle

unread,
May 30, 2012, 3:07:54 PM5/30/12
to
On 5/30/2012 1:36 PM, manimuthu4ruby wrote:
> yes i have mysql and running well..
>
>

OK, then you need to be following up in the Ruby support groups.
Nothing here indicates a MySQL problem.

manimuthu4ruby

unread,
May 30, 2012, 11:56:08 PM5/30/12
to
I got solution myself.....thanks to comgroups.net


link285

unread,
May 31, 2012, 9:47:23 PM5/31/12
to
could you let us know what was the issue and how you solve?


0 new messages