How does this work? You only connect and use hyper table when your RAILS_ENV is 
set to "hypertable" ?  

-- 
Richard Schneeman
http://heroku.com

@schneems (http://twitter.com/schneems)




On Wednesday, August 8, 2012 at 1:59 PM, Ravindra Kanchikare wrote:

> Hi Richard,
> 
> Thanks for the reply.
> 
> i have a scenario ware i am using a mysql along with hypertable 
> 
> my database.yml file in development environment look like this 
> 
> development:
>   adapter: mysql
>   encoding: utf8
>   reconnect: false
>   database: XXXXXXXXX_development
>   pool: 5
>   username: root
>   password: 
> 
> test: &test
>   adapter: mysql
>   encoding: utf8
>   reconnect: false
>   database: XXXXXXXXX_test
>   pool: 5
>   username: root
>   password:
> 
> production:
>   adapter: mysql
>   encoding: utf8
>   reconnect: false
>   database: XXXXXXXXX_production
>   pool: 5
>   username: root
>   password: 
> 
> hypertable:
>   adapter: hypertable
>   host: xx.xx.xxx.xx
>   port: 38080
>   namespace: xxxx
> 
> 
> For MySQL i am using clearDB vis config vars
> 
> CLEARDB_DATABASE_URL=mysql://xxxxxxx:[email protected] 
> (mailto:[email protected])/heroku_xxxxxxxxxxxx?reconnect=true
> 
> 
> On Wednesday, August 8, 2012 7:42:55 PM UTC+5:30, richard schneeman wrote:
> > You can set the DATABASE_URL in your config variables on Heroku to point at 
> > your hyper table database hosted anywhere else in the world. 
> > 
> > -- 
> > Richard Schneeman
> > http://heroku.com
> > @schneems
> > 
> > Sent from the road
> > 
> > 
> > On Wednesday, August 8, 2012 at 6:16 AM, Ravindra Kanchikare wrote:
> > 
> > > I have  built a rails3 application which uses hyper_table gem 
> > > http://code.google.com/p/hypertable/wiki/HyperRecord. This gem needs a 
> > > entry in database.yml as shown bellow 
> > > Host is currently hosted in rackspace. since heroku deployment over 
> > > writes our configuration we are not able to connect to rackspace from 
> > > heroku application. 
> > > And We use pdfkit for pdf generation it needs wkhtmltopdf  to be in path 
> > > (ex: /usr/local/bin/wkhtmltopdf). How can we come over these problems
> > > Hypertable configuration: 
> > >  hypertable:
> > >    adapter: hypertable
> > >    host: xx.xx.xxx.xx
> > >    port: 38080
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google
> > > Groups "Heroku" group.
> > >  
> > > To unsubscribe from this group, send email to
> > > [email protected] (javascript:)
> > > For more options, visit this group at
> > > http://groups.google.com/group/heroku?hl=en_US?hl=en
> > 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>  
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to