I m using ruby 1.8.7 on rails 2.3.5 with mysql 5.0 on windows.
C:\Ruby187\rails\accounts>rake db:create
(in C:/Ruby187/rails/accounts)
rake aborted!
syntax error on line 2, col 0: `encoding:utf8'

The following is the yml file i'm using

development:
adapter:mysql
encoding:utf8
reconnect:false
database:accounts_development
pool:5
username:
password:
host:localhost

There are no spaces in the file. Only one after password

In mysql i haven't set any password.(Though the default is root as whem
mysql console i open it asks for pwd and on entering root it opens).

Kindly suggest.

Premanshu

-- 
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-t...@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