Here is what I have done:
1. rails myproject name
2. edit database.yml file:
 development:
  adapter: mysql
  encoding: utf8
  reconnect: false
  database: mysql_development
  pool: 5
  username: root
  password: Password01
  host: localhost
3. rake db:create

Error:
!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.

rake aborted!

126: The specified module could not be found.   - C:/Ruby/lib/ruby/
gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so

Note: the mysql.so file is physically located in that directory.  I
have run gem install mysql but no luck.




On Apr 2, 10:33 am, Roderick van Domburg <rails-mailing-l...@andreas-
s.net> wrote:
> Bryan wrote:
> > very noob like question here.  I'm getting back into learning rails
> > development.  I fired my ruby text editor and made the appropriate gem
> > updates.  I tried making a connection to MySQL which is my typical
> > development DB of choice and I can't seem to get it working.  I've
> > scoured the net implementing various methods but to without luck.
>
> > I was hoping for someone to point me in the right direction on getting
> > my development environment back to working fashion.
>
> We can't say much without additional information. What errors are you
> seeing?
>
> From the top of my head, have you enabled TCP/IP connections on your
> MySQL Server? Rails won't use named pipes or domain sockets on Windows.
>
> --
> Roderick van Domburghttp://www.nedforce.com
> --
> Posted viahttp://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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to