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?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

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

    That was confusing for me too. Remove that line and it works fine on XP.