ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   connection via mysql.sock
Date:   2005-11-04 04:20:56
From:   martaan
Everything works fine until I need to connect to the DB.
Connection works fine via TCP/IP but the database.yml file only allows specification of a 'socket'.
Details of what the mysql.sock file contains are illusive. I edit the my.ini file to reference the mysql.sock file:
socket=/tmp/mysql.sock


but the next step to generate the model file doesn't work.


suggestions for connection on a windows xp pro system?


1 to 1 of 1
  1. connection via mysql.sock
    2005-11-24 13:25:24  idealord [View]

1 to 1 of 1