On 17 July 2011 17:48, smtabatabaie <[email protected]> wrote:
> this is my database.yml content:
>
> # MySQL.  Versions 4.1 and 5.0 are recommended.
> #
> # Install the MySQL driver:
> #   gem install mysql2
> #
> # And be sure to use new-style password hashing:
> #   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
> development:
>  adapter: mysql
>  encoding: utf8
>  reconnect: false
>  database: cms_development
>  pool: 5
>  user: smtabatabaie
>  password: 'mypassword'
>  host: localhost
>
>
>
>
> # Warning: The database defined as "test" will be erased and
> # re-generated from your development database when you run "rake".
> # Do not set this db to the same as development or production.
> test:
>  adapter: mysql
>  encoding: utf8
>  reconnect: false
>  database: cms_test
>  pool: 5
>  user: smtabatabaie
>  password: 'mypassword'
>  host: localhost
>
> production:
>  adapter: mysql
>  encoding: utf8
>  reconnect: false
>  database: cms_production
>  pool: 5
>  user: smtabatabaie
>  password: 'mypassword'
>  host: localhost
>
> --------------------------------------------------------------------------
> I enter mysql using commands : mysql -u smtabatabaie -p
> and then : show databases
> and cms_development is there

Are you *absolutely* sure it is spelt right?  copy/paste the output of
show databases just to keep us happy.  I presume that database.yml
above was copied and pasted here.

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to