Re: [Rails] Re: Re: Re: Remote MySQL database.yml problem

2012-01-24 Thread Peter Vandenabeele
On Tue, Jan 24, 2012 at 10:32 PM, Colin Law wrote: > On 24 January 2012 21:18, Peter Vandenabeele > wrote: > ... > > Warning, it that command succeeds, you may be connected directly to your > > production database, be careful. > ... > > David: Before doing any more, have you checked that you

Re: [Rails] Re: Re: Re: Remote MySQL database.yml problem

2012-01-24 Thread Colin Law
On 24 January 2012 21:18, Peter Vandenabeele wrote: > On Tue, Jan 24, 2012 at 6:52 PM, David Ekdahl wrote: >> >> Colin Law wrote in post #1042340: >> > On 24 January 2012 17:19, Peter Vandenabeele >> > wrote: >> >>> >> (13): >> >>> > 1.9.3p0 :001 > require 'yaml'; >> >>> Do you want me to just c

Re: [Rails] Re: Re: Re: Remote MySQL database.yml problem

2012-01-24 Thread Peter Vandenabeele
On Tue, Jan 24, 2012 at 6:52 PM, David Ekdahl wrote: > Colin Law wrote in post #1042340: > > On 24 January 2012 17:19, Peter Vandenabeele > > wrote: > >>> >> (13): > >>> > 1.9.3p0 :001 > require 'yaml'; > >>> Do you want me to just copy and paste the code inside my database.yml > >> It parses th

[Rails] Re: Re: Re: Remote MySQL database.yml problem

2012-01-24 Thread David Ekdahl
Colin Law wrote in post #1042340: > On 24 January 2012 17:19, Peter Vandenabeele > wrote: >>> >> (13): >>> > 1.9.3p0 :001 > require 'yaml'; >>> Do you want me to just copy and paste the code inside my database.yml >> It parses the database.yml file (which is obviously a YAML file). If you >> have

[Rails] Re: Re: Re: Remote MySQL database.yml problem

2012-01-24 Thread David Ekdahl
Peter Vandenabeele wrote in post #1042334: > On Tue, Jan 24, 2012 at 6:07 PM, David Ekdahl > wrote: > >> >> But why... When I run mysql -h remote.host.local -u user -p form the >> > => {"development"=>{"adapter"=>"postgresql", "encoding"=>"unicode", >> >> What does it do? >> > > $ irb > 1.9.3p0 :0