Hi, I assume you have set up your database.yml file correctly, then just create the db manually using using the webpanel, and then run rake db:migrate to create all your tables.
Simon On Sat, 27 Jun 2009 06:55:54 +0800, [email protected] <[email protected]> wrote: > > Hi, > > I've done a bit of web development work, but decided to try something > new after I got into a fight with PHP over regular expressions. I > figured I'd have nothing to do by trying out Rails, so here I am. > > I'm following along the getting started guide: > http://guides.rubyonrails.org/getting_started.html > > However, I just hit my first snag. "rake db:create" is returning the > error "Couldn't create the database for... etc.". I get the > impression that this will attempt to create the database, which would > explain the error: With my webhost, the database users aren't allowed > to create new databases; that needs to be done from the web panel. > > How can I -connect- to a (remote) database and build the needed > tables, but not -create- an entirely new database? Thanks, I > appreciate it. > > Eric > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

