Re: Postamble vs campingrc

2007-01-22 Thread James Earl
On 1/22/07, why the lucky stiff <[EMAIL PROTECTED]> wrote: > To use MySQL, the .campingrc would be: > > database: >adapter: mysql >database: mydb >username: myuser >password: mypw >host: myhost > > Use a postamble[1] if you want your application to work without reading > .campi

Re: Postamble vs campingrc

2007-01-22 Thread why the lucky stiff
On Mon, Jan 22, 2007 at 03:42:55PM -0700, James Earl wrote: > No prob, I am adding the extra parameters. I test it by just > deleting/recreating the .campingrc file and reloading my app. When > .campingrc isn't there, Camping will create the .camping.db and give > me an error since it doesn't con

Re: Postamble vs campingrc

2007-01-22 Thread James Earl
No prob, I am adding the extra parameters. I test it by just deleting/recreating the .campingrc file and reloading my app. When .campingrc isn't there, Camping will create the .camping.db and give me an error since it doesn't contain any of my tables. All the while I have this as my postamble:

Re: Postamble vs campingrc

2007-01-22 Thread Eric Mill
This may be obvious, but are you also adding on the extra parameters Mysql needs, like :username, :password, :database? -- Eric On 1/22/07, James Earl <[EMAIL PROTECTED]> wrote: > Hi, > > Should I be able to use the Webrick postamble instead of using > .campingrc, to tell Camping I want to use my

Postamble vs campingrc

2007-01-22 Thread James Earl
Hi, Should I be able to use the Webrick postamble instead of using .campingrc, to tell Camping I want to use mysql? It doesn't seem to be working for me. It does work however, when I'm using FastCGI (establish_connection :adapter => 'mysql'). James __