hi everybody Iam trying to create my First App in Ruby on Rails . but I getting something wrong. when I click in "About your application’s environment" , it dose not show anything. it only show this message "We''re sorry, but something went wrong." in any way I have to ask about this message , and how I can solve this error SEVERE: !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. in addition to that I have to ask , how I can create DB by using IDE connection ,when I tried to create DB it show to me this error "An error was encountered while creating Database org.netbean.api.db.explore.DatabaseException:org.netbean.api.db.explore.DatabaseException:java.sql.SQLException:Access denied for user ''root''@''localhost''(using password:NO)" please any can help me . Thanks in Advance -- Posted via http://www.ruby-forum.com/.
On Thu, Oct 8, 2009 at 2:48 PM, Yousef Jawwad <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> in any way I have to ask about this message , and how I can solve this > error > > SEVERE: !!! The bundled mysql.rb driver has been removed from Rails 2.2. > Please install the mysql gem and try again: gem install mysql.? You solve it be doing what it says to do: `gem install mysql`> in addition to that I have to ask , how I can create DB by using IDE > connection ,when I tried to create DB it show to me this error> Access denied for user ''root''@''localhost''(using password:NO)"Forget the IDE. Use your mysql command line client to make sure 1) that you know what the root password is, 2) it really does work, and 3) that info is in your config/database.yml . While you''re logged in you can create your DB(s), as well. HTH, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
On Thu, Oct 8, 2009 at 10:48 PM, Yousef Jawwad <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > hi everybody > > Iam trying to create my First App in Ruby on Rails . but I getting > something wrong. > > when I click in "About your application’s environment" , it dose not > show anything. it only show this message "We''re sorry, but something > went wrong." > > in any way I have to ask about this message , and how I can solve this > error > > SEVERE: !!! The bundled mysql.rb driver has been removed from Rails 2.2. > Please install the mysql gem and try again: gem install mysql. > > in addition to that I have to ask , how I can create DB by using IDE > connection ,when I tried to create DB it show to me this error > > > "An error was encountered while creating Database > org.netbean.api.db.explore.DatabaseException:org.netbean.api.db.explore.DatabaseException:java.sql.SQLException:Access > denied for user ''root''@''localhost''(using password:NO)" > > > > please any can help me .Looks like you are using Netbeans. I have had this problem before when using the IDE. I think I had replaced mysql by jdbcmysql as adapter in the environments file, as Netbeans uses JRuby instead of Ruby. Don''t know if that changed now, but it used to be based on JRuby. Regards, Fidel.
On Thu, Oct 8, 2009 at 11:22 PM, Fidel Viegas <fidel.viegas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thu, Oct 8, 2009 at 10:48 PM, Yousef Jawwad > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> hi everybody >> >> Iam trying to create my First App in Ruby on Rails . but I getting >> something wrong. >> >> when I click in "About your application’s environment" , it dose not >> show anything. it only show this message "We''re sorry, but something >> went wrong." >> >> in any way I have to ask about this message , and how I can solve this >> error >> >> SEVERE: !!! The bundled mysql.rb driver has been removed from Rails 2.2. >> Please install the mysql gem and try again: gem install mysql. >> >> in addition to that I have to ask , how I can create DB by using IDE >> connection ,when I tried to create DB it show to me this error >> >> >> "An error was encountered while creating Database >> org.netbean.api.db.explore.DatabaseException:org.netbean.api.db.explore.DatabaseException:java.sql.SQLException:Access >> denied for user ''root''@''localhost''(using password:NO)" >> >> >> >> please any can help me . > > Looks like you are using Netbeans. I have had this problem before when > using the IDE. I think I had replaced mysql by jdbcmysql as adapter in > the environments file, as Netbeans uses JRuby instead of Ruby. Don''t > know if that changed now, but it used to be based on JRuby. >Sorry, I meant config/database.yml file. Regards, Fidel.