[Instantrails-users] Unable to run cookbook example
William (Bill) Froelich
wfroelich at dbsnow.com
Thu Jun 29 17:32:01 EDT 2006
> -----Original Message-----
> From: instantrails-users-bounces at rubyforge.org
> [mailto:instantrails-users-bounces at rubyforge.org] On Behalf
> Of Randee Bierlein
> Sent: Thursday, June 29, 2006 4:05 PM
> To: curt at hibbs.com; instantrails-users at rubyforge.org
> Subject: Re: [Instantrails-users] Unable to run cookbook example
> Hi Curt,
> Thanks for the reply. Yes, I am working with the cookbook
> application that came with the installation. I've unzipped
> fresh copies of InstantRails into new directories a few times
> now and I always get this problem.
> No, I haven't changed the password for 'root' in the
> database. I just checked cookbook/config/database.yml to be
> sure: the password is blank.
> I do get an error when I start InstantRails.exe: MySQL port
> (3306) is in use. Is that a problem?
I would guess that you already have a copy of MySQL running on your
machine and when InstantRails starts its copy it fails because the port
is already in use. That would explain why you got the error about the
root password. The instance already on your machine is setup with a
root password while the database.yml doesn't have one defined.
You will probably need to change the port that the MySQL under
instantrails uses. Unfortunately I am not sure quite how to do this. I
did some quick checking and don't have a ready answer for you. Maybe
someone else can jump in or I'll try again later tonight.
Hope this helps!
More information about the Instantrails-users