hi there,
 i decided to build a small rails application on dreamhost (and not my
VM ubuntu machine this time).

I have set up database.yml correctly by copying the user credentials
and host name from the db administration panel.

The problem I have here is that when I run "rake db:create
RAILS_ENV=test" for the test environment, I constantly get an error
message indicating that the current user has no rights :(
This problem however does not occur for the development environment.


[amalthea]$ rake db:create RAILS_ENV=test
(in /home/neon83/projects/notepad)
rake aborted!
Mysql2::Error: Access denied for user 'padawan'@'%' to database
'notepad_test': CREATE DATABASE `rails3-test` DEFAULT CHARACTER SET
`utf8` COLLATE `utf8_unicode_ci`


Any ideas?


PS:
 I have heard of some rumours that on dreamhost shared hosting,
scripts cannot create databases. It can only be done on the
admininstration panel for databases.

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