Setting up database
So I used script/server webrick and it works, but how do I use MySQL now? I already configured database.yml... when I try to run script/server without webrick I get this error:
!!! Path to log file not valid: log/mongrel.log
Thanks for the help
July 15th, 2008, 12:21 AM
First, running mysql has nothing to do with running rails. It is a separate daemon (or service, in Windows terms). The parameters in database.yml just tell rails how to connect to the mysql service, but it should already be started.
With that said, looking at the error message, it appears you've munged the standard to make it run mongrel instead of webrick. I'm guessing you need to start it from the correct directory or try
and see if it helps.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo