[Instantrails-users] Confused Newbie question
rbazinet at gmail.com
Mon Apr 7 16:34:19 EDT 2008
Rails 2.0, which is what Instant Rails 2.0 uses, uses SQLite by default.
Instant Rails has always been configured with MySQL and IR 2.0 still has it
built in for now. A lighter version is coming without it but for now, both
MySQL and SQLite are in there.
Instant Rails will use the version of MySQL which came with it but by
default Rails will use SQLite unless specifically told not to. The
database.yml file in each of your projects will tell you which DB provider
you are using.
Hope this helps.
On Mon, Apr 7, 2008 at 4:21 PM, David Williams <mrdave215 at gmail.com> wrote:
> I guess that is possible, there is nother database somewhere. I do not
> have any other database running on my computer or on the network right now.
> Just what came with R -on- R.
> The task manager shows mysqld.exe and nothing else with "sql". Where do I
> find the database/port config?
> On Mon, Apr 7, 2008 at 2:21 PM, David Morton <mortonda at dgrmm.net> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > On Apr 7, 2008, at 8:20 AM, David Williams wrote:
> > > I have instant rails 2.0 installed and running happily. I unzipped
> > > everything into a Ruby folder.
> > >
> > > I only have one copy of Mysql on my computer. I run the instant
> > > rails program then go in and start the mycoookbook application.
> > >
> > > I got a blank cook book. So i added a couple of catagories and poked
> > > around.
> > >
> > > I then went into mysql admin. This showed the database config, which
> > > is fine. When I went into browse the tables, there were recipes in
> > > there already. The recipies and catagories I added where not to be
> > > found.
> > >
> > > I looked at my task list and there is only one mysql process.
> > >
> > > What am I missing here.
> > Rails 2.0 defaults to using sqlite, I think. Is that packaged with
> > Rails now? It's possible that your changes are in the sqlite
> > database, and it's not connecting to mysql.
> > David Morton
> > Maia Mailguard http://www.maiamailguard.com
> > mortonda at dgrmm.net
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.7 (Darwin)
> > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe
> > MrrvpTu7UzyWo4MoWV68Chw=
> > =BzDV
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > Instantrails-users mailing list
> > Instantrails-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/instantrails-users
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
InfoQ Ruby and .NET Editor
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Instantrails-users