My First Application in Ruby on Rails

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

On Thu, Oct 8, 2009 at 2:48 PM, Yousef J.
[email protected] 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 S. ------------------------ [email protected]
twitter: @hassan

On Thu, Oct 8, 2009 at 11:22 PM, Fidel V. [email protected]
wrote:

went wrong."

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.

On Thu, Oct 8, 2009 at 10:48 PM, Yousef J.
[email protected] wrote:

in any way I have to ask about this message , and how I can solve this
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.