RE: Win XP/ Mysql Problem


#1

I’ve seen that problem when either (a) I didn’t have the table defined
before running the generate scripts, or (b) I had something wrong in my
database.yml file that prevented rails from connecting to my database.

I’m running MySQL 4.x under WindowsXP with the following in my
database.yml:

development:
adapter: mysql
database: myproject_development
username: ****
password: ****
socket: /tmp/mysql.sock

Maybe that format of socket will work for you?

-Steve