Hi Padma, Mysql is there its listed as Mysql <2.8.1 *86-mingw32> when i give the command gem list.
Regards, Madhu On Tue, Aug 3, 2010 at 3:42 PM, Padma Reddy <padmaj...@gmail.com> wrote: > You might not have installed mysql. > check if mysql is there in the list displayed using 'gem list' > On Tue, Aug 3, 2010 at 3:34 PM, madhu kumar <madhu....@gmail.com> wrote: > >> Hi padma, >> >> if i type require 'mysql' its coming no such file to load. can i know >> whats the proble. >> >> Regards, >> Madhu >> >> >> On Tue, Aug 3, 2010 at 2:56 PM, Padma Reddy <padmaj...@gmail.com> wrote: >> >>> Hi Madhu, >>> >>> Make sure that mysql is installed on the machine from where you want to >>> execute the ruby script. >>> Do 'gem install mysql' (if this dont work, download mysql and then >>> install). ( 'gem list' check if mysql is there) >>> >>> try this in your script: >>> >>> require 'mysql' >>> my = Mysql.new('IP', 'mysql username', 'password', 'database name') >>> >>> Hope this will help you. >>> >>> On Tue, Aug 3, 2010 at 2:41 PM, madhu kumar <madhu....@gmail.com>wrote: >>> >>>> HI, >>>> >>>> Can anyone let me know how to connect to mysql database using Ruby. >>>> >>>> Regards, >>>> Madhu >>>> >>>> >>>> On Tue, Aug 3, 2010 at 2:19 PM, Željko Filipin < >>>> zeljko.fili...@wa-research.ch> wrote: >>>> >>>>> 2010/8/3 madhu kumar <madhu....@gmail.com> >>>>> >>>>> > This is travel site just go through this Link www.cleartrip.com >>>>> >>>>> And you really thought it would be easier for us to debug your problem >>>>> with screen shot, instead of sending us the URL?! >>>>> >>>>> See how fast you got the answer once you have sent the URL? >>>>> >>>>> require "rubygems" >>>>> require "watir" >>>>> browser = Watir::Browser.start("http://www.cleartrip.com/") >>>>> browser.image(:alt => "Calendar").click >>>>> browser.cell(:text => "4").link(:index => 1).click >>>>> # 4/8/2010 is selected >>>>> >>>>> Željko >>>>> >>>>> -- >>>>> Before posting, please read http://watir.com/support. In short: search >>>>> before you ask, be nice. >>>>> >>>>> You received this message because you are subscribed to >>>>> http://groups.google.com/group/watir-general >>>>> To post: watir-general@googlegroups.com >>>>> To unsubscribe: >>>>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >>>>> >>>> >>>> -- >>>> Before posting, please read http://watir.com/support. In short: search >>>> before you ask, be nice. >>>> >>>> You received this message because you are subscribed to >>>> http://groups.google.com/group/watir-general >>>> To post: watir-general@googlegroups.com >>>> To unsubscribe: >>>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >>>> >>> >>> >>> >>> -- >>> Padma:) >>> >>> "Don't let someone become a priority in your life, when you are just an >>> option in their life.. Relationships work best when they are balanced! :-)" >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> You received this message because you are subscribed to >>> http://groups.google.com/group/watir-general >>> To post: watir-general@googlegroups.com >>> To unsubscribe: >>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >>> >> >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> You received this message because you are subscribed to >> http://groups.google.com/group/watir-general >> To post: watir-general@googlegroups.com >> To unsubscribe: >> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >> > > > > -- > Padma:) > > "Don't let someone become a priority in your life, when you are just an > option in their life.. Relationships work best when they are balanced! :-)" > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > To unsubscribe: > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com