On 12 Nov 2008, at 09:32, Pål Bergström wrote:

>
> Mukund wrote:
>> Why don't you use the socket option in database.yml to point to
>> opt/...  ?   You can use this setting for development and another for
>> production.  Alternatively create database.mymachine.yml and
>> database.production.yml and link the right file to database.yml
>>
>>
>>
>> On Nov 12, 12:16�pm, P�l Bergstr�m <[EMAIL PROTECTED] 
>> s.net>
>
> I could do that, but it's convenient to use /tmp/mysql.sock as other
> programs look there first.

Presumably you can configure mysql to put its socket in /tmp rather  
than in /opt/...

Fred
>
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to