Can't connect with MySQL database

I just installed MySQL and its drivers on a Mac OS X Leopard. When I
issued my rails command to build a new app, then issued the script/
server command and connected to my localhost:3000 in the browser, I
saw the following problem with MySQL.

I changed/updated the PATH in nano, and it can see MySQL fine. So I
really don't understand the problem.

Can you tell me what I need to do?

Thank you.

Paul Denlinger wrote:

I just installed MySQL and its drivers on a Mac OS X Leopard. When I
issued my rails command to build a new app, then issued the script/
server command and connected to my localhost:3000 in the browser, I
saw the following problem with MySQL.

I changed/updated the PATH in nano, and it can see MySQL fine. So I
really don't understand the problem.

Can you tell me what I need to do?

Thank you.
-----------------------------------------------------------------------

MissingSourceFile in Rails/infoController#properties

no such file to load -- mysql

[...]

You've made the same common mistake that many others on this list have
made. :slight_smile: The file that Rails can't load is not the mySQL app itself,
but rather the mysql gem (which contains the libraries that tell Ruby
how to talk to the DB). Install the gem and all should be well.

But you probably should be using PostgreSQL anyway. It's a *much*
better DB.

Best,