[Rails] Re: Error in Mysql Connection

2010-04-09 Thread Vuong Nguyen
Yes, i solved this problem . go to ruby shell type: install gem -v2.3.5 (or your need version for your server) All thing ok. Anything , please contact me : mrvuo...@gmail.com -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "R

[Rails] Re: Error in Mysql Connection

2009-04-12 Thread Darren Bishop
Trejkaz Xx wrote: > Darren Bishop wrote: >> So for now simply try cp %MYSQL_HOME%\bin\libmySQL.dll %RUBY_HOME%\bin. > > The way I saw it, if Rails used to support MySQL without installing > MySQL, then it should still work -- hence I don't have a %MYSQL_HOME% to > copy a DLL from, hence why my

[Rails] Re: Error in Mysql Connection

2009-04-12 Thread Trejkaz Xx
Darren Bishop wrote: > So for now simply try cp %MYSQL_HOME%\bin\libmySQL.dll %RUBY_HOME%\bin. The way I saw it, if Rails used to support MySQL without installing MySQL, then it should still work -- hence I don't have a %MYSQL_HOME% to copy a DLL from, hence why my instructions mention pilferin

[Rails] Re: Error in Mysql Connection

2009-04-08 Thread Darren Bishop
Trejkaz Xx wrote: > Hao Zhao wrote: >> 1. download older MySQL client library, for example one from >> InstantRails: >> http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll >> >> 2. copy the downloaded file to C:\Ruby\bin (or wherever you installed

[Rails] Re: Error in Mysql Connection

2009-03-31 Thread Sumanth Krishna
Thanks for the listing Hao Zhao :) -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googl

[Rails] Re: Error in Mysql Connection

2009-03-12 Thread Trejkaz Xx
Hao Zhao wrote: > 1. download older MySQL client library, for example one from > InstantRails: > http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll > > 2. copy the downloaded file to C:\Ruby\bin (or wherever you installed > Ruby) > > 3. restart

[Rails] Re: Error in Mysql Connection

2009-03-10 Thread Hao Zhao
If you upgrade Rails to 2.2.2, you will find that the MYSQL adapter have been removed from the package. So you have to manually install it using command ” gem install mysql”. but it is not over for works. when you are running server and visit the home page, you will get error message on bac

[Rails] Re: Error in Mysql Connection

2009-02-22 Thread Aruna Venkataraman
Freddy Andersen wrote: > I'm guessing in you database.yml file you have this: > development: > adapter: mysql > > So you need todo this: > > # gem install mysql or if mysql is in a none standard area you need to > point to mysql_config like this: > # gem install mysql -- --with-mysql-config=/u

[Rails] Re: Error in Mysql Connection

2008-12-15 Thread Freddy Andersen
I'm guessing in you database.yml file you have this: development: adapter: mysql So you need todo this: # gem install mysql or if mysql is in a none standard area you need to point to mysql_config like this: # gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ mysql_config (or wher

[Rails] Re: Error in Mysql Connection

2008-12-15 Thread RichardOnRails
I looked at you question again, which led me to add a couple of more things: Did you notice the advice: "!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again" If you don't know how to use the "gem" system, just Google for gem. But if you us

[Rails] Re: Error in Mysql Connection

2008-12-15 Thread RichardOnRails
With Rails 2, the default database server is SQLite3. You apparently added the optional MySQL. I recommend you "go with the flow", i.e. restart and allow the default DBMS to be used. HTH, Richard On Dec 16, 12:13 am, Angappan Ayyavoo wrote: > Kyle wrote: > > im new to ROR but i think i remem

[Rails] Re: Error in Mysql Connection

2008-12-15 Thread Angappan Ayyavoo
Kyle wrote: > im new to ROR but i think i remember using this command when i had > that same error when i first started installing. > ruby\ gem install mysql > it was something along that line. > > On Dec 15, 8:31�am, Angappan Ayyavoo http://www.ruby-forum.com/. --~--~-~--~~-

[Rails] Re: Error in Mysql Connection

2008-12-15 Thread Kyle
im new to ROR but i think i remember using this command when i had that same error when i first started installing. ruby\ gem install mysql it was something along that line. On Dec 15, 8:31 am, Angappan Ayyavoo wrote: > Hai > >  Iam getting error in mysql connection. > > C:\Ruby\addr>ruby script