I am using Windows Vista and installed Ruby 1.8.6.
gem install rails --include-dependencies
gem install mysql --include-dpendencies
MySQL gem installs, but a whole bunch of message pop up such as -
. . .
No definition for time_get_second
No definition for time_get_neg
No definition for time_get_second_part
No definition for time_set_year
No definition for time_set_month
No definition for time_set_day
No definition for time_set_hour
No definition for time_set_minute
No definition for time_set_second
No definition for time_set_neg
No definition for time_set_second_part
No definition for time_equal
No definition for error_errno
No definition for error_sqlstate
I configure the database.yml for mysql, and I know what my database
username and password are (can review via my php configurations, etc).
I make a simple hello world app, but I here''s the development.log:
# Logfile created on Wed Jan 13 20:58:07 +0700 2010/!\ FAILSAFE /!\
Wed Jan 13 20:58:16 +0700 2010
  Status: 500 Internal Server Error
  Access denied for user ''pksa''@''localhost''
(using password: NO)
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/mysql_adapter.rb:589:in
`real_connect''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/mysql_adapter.rb:589:in `connect''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/mysql_adapter.rb:203:in `initialize''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/mysql_adapter.rb:75:in `new''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/mysql_adapter.rb:75:in
`mysql_connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
`send''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
`new_connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:245:in
`checkout_new_connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:188:in
`checkout''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
`loop''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
`checkout''
    C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:183:in
`checkout''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:98:in
`connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:326:in
`retrieve_connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
123:in `retrieve_connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
115:in `connection''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/query_cache.rb:9:in `cache''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/query_cache.rb:28:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/string_coercion.rb:25:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
methodoverride.rb:24:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/params_parser.rb:15:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/session/cookie_store.rb:93:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/failsafe.rb:26:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/dispatcher.rb:114:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/reloader.rb:34:in `run''
    C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/dispatcher.rb:108:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/
static.rb:31:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
`call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/
log_tailer.rb:17:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
content_length.rb:13:in `call''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/
webrick.rb:50:in `service''
    C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
    C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start''
    C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start''
    C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/
webrick.rb:14:in `run''
    C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:
111
    C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
    C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
    script/server:3
If I access http://localhost:3000, the link for About your
applications environment says:
We''re sorry, but something went wrong.
Database.yml looks like this -
development:
  adapter: mysql
  encoding: utf8
  database: pkdb
  username: pksa
  password: *****
  host: localhost
  socket: /tmp/mysql.sock
test:
  adapter: mysql
  encoding: utf8\
  database: pkdb
  username: pksa
  password: ****
  host: localhost
  socket: /tmp/mysql.sock
production:
  adapter: mysql
  encoding: utf8
  database: pkdb
  username: pksa
  password: ****
  host: localhost
  socket: /tmp/mysql.sock
Not sure about the socket line, but I did add a similar line into
my.ini for [client] and [mysqld] as follows:
socket=C:/tmp/mysql.sock
Did seem to work with mysqlite3, and choking my mysql as well. But I
really don''t think it''s a database issue somehow.
Any ideas for me going with RoR?  Thanks for any ideas.
-- 
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.