Hassan Schroeder wrote in post #964823:
> On Mon, Nov 29, 2010 at 9:48 AM, Steve Mills <li...@ruby-forum.com>
> wrote:
>
>>> The line above is *wrong* -- look at your config/database.yml entries
>>> and compare. That is simply not a valid MySQL entry.
>
>> I know that line is wrong - Rails tells me that - what I don't know is
>> how to fix it, or even why the store.rb file exists at all in the app
>> folder.
>
> And I've told you twice how to fix it. Seriously, WTF?
>
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
> twitter: @hassan

I have followed the advice but it didn't help...

Database.yml contains entries like:-

development:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: depot_v_development
  pool: 5
  username: <uname>
  password: <pw>
  host: localhost

which is a database specification broken into multiple elements.

Clearly what is required is a single parameter which specifies the 
database, something like, localhost:<uname>@<pw>/depot_v_development

Unfortunately I don't know the required syntax and database.yml doesn't 
provide it.

So yes, the advice appears good, but for me it's incomplete.

If I delete that section of code then the db:migrate works. So now I'm 
going to see if everything else still works with it deleted.

I'll report back.

-- 
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