Forum: Ruby on Rails RE: Win XP/ Mysql Problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Steve Chanin (Guest)
on 2006-03-08 03:48
(Received via mailing list)
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
This topic is locked and can not be replied to.