Newbie question - Using RoR with mysql on leopard

Hi, I am completely new to RoR and I'm just going through the
lynda.com tutorial to try and get me started. I have everything
installed and running, the only problem is that the tutorial uses
mysql and as I am sure you already know, leopard uses sql lite as
standard.

I would ideally like to use mysql as well so I can follow the video
without having to interpret what I need to change for sql lite. I have
installed the mysql gem and I have mysql running but if I go to my app
in the browser (the standard RoR page) and then the about your
application bit, it says I am using sqlite3.

Does anyone know how I can get this working?

Sorry about the long post, just wanted to give as much info as
possible. :slight_smile:

Hi, I am completely new to RoR and I'm just going through the
lynda.com tutorial to try and get me started. I have everything
installed and running, the only problem is that the tutorial uses
mysql and as I am sure you already know, leopard uses sql lite as
standard.

I would ideally like to use mysql as well so I can follow the video
without having to interpret what I need to change for sql lite. I have
installed the mysql gem and I have mysql running but if I go to my app
in the browser (the standard RoR page) and then the about your
application bit, it says I am using sqlite3.

Does anyone know how I can get this working?

You need to change your database.yml to tell it to connect to mysql.
If you haven't gone very far you might find it easier to just generate
a fresh application that is already setup to use mysql with rails -d
mysql

hi thanks for that, I tried makinga new application by putting this in
the terminal "rails -d mysql test_app" it created fine but when I
start the server and go to http://localhost:8888/ I get a page load
error... Any idea what I can do to fix this? Maybe I did something
wrong at install?

Why port 8888 ? Did you start the server on that port ? If the server
is dying then it should be screaming about something in it's logs
(which are echoed to the terminal if you've just done script/server)

Fred

Ha, Just realised that I was using the wrong port number *hangs head
in shame* I'm too used to using mamp!