MySql as database in Leopard --- Will not rake

I am trying to create a new application on Mac OSX Leopard with MySql
instead of Sqlite3, and I am having loads of trouble. I have
installed mysql and I can connect properly through mysql -u root -p.
I have also installed the MySQL C bindings for Ruby through: sudo env
ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/
local/mysql/bin/mysql_config.

However, when I crate a new rails application with:

rails -d mysql myapp

And then I run rake db:migrate. I get:

The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql

I have already installed the gem as outlined above, and it is still
not working. Am I missing a configuration change somewhere? My
database.yml file is set properly ... cannot figure this out for the
life of me. Somebody please help!

I am trying to create a new application on Mac OSX Leopard with MySql
instead of Sqlite3, and I am having loads of trouble. I have
installed mysql and I can connect properly through mysql -u root -p.
I have also installed the MySQL C bindings for Ruby through: sudo env
ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/
local/mysql/bin/mysql_config.

Did you get the 64bit version of mysql or the 32bit version?

Fred

I tried downloading the 32bit version, because I know that the 64bit
version has issues with Leopard. However, I am worried there might
still be some remnants of a previous install on my computer. How can
I check the version and ensure all of the 64bit files are deleted?

Try to take a look to your mySQL folder in /usr/local/

I had the same problem recently.

I recommend you to rm it, reinstall the 32bits version and do the sudo
env
ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/
local/mysql/bin/mysql_config thing.

That should work.