Changeset 98

Show
Ignore:
Timestamp:
06/22/07 13:55:47 (2 years ago)
Author:
mbailey
Message:

put in symlink to /tmp/mysql.sock as by default rails creates a database.yml file that expects it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1-7-stable/lib/deprec/third_party/railsmachine/recipes/mysql.rb

    r88 r98  
    4747    # on_rollback {} 
    4848     
     49    # rails puts "socket: /tmp/mysql.sock" into config/database.yml 
     50    # this is not the location for our ubuntu's mysql socket file 
     51    # so we create this link to make depployment using rails defaults simpler 
     52    sudo "sudo ln -sf /var/run/mysqld/mysqld.sock /tmp/mysql.sock" 
     53     
    4954    set_mysql_admin 
    5055    read_config