>
> Thank you Massimo, but this presents 2 problems:
>>
>
1)  I am using Heroku for the app and it boots with a non-interactive 
Procfile.  If I put:

 ssh -L 3307:localhost:3306  myusern...@db.example.com 

in the procfile, it wants to prompt me for a password through stdin. I 
could use sshpass but that may not be installed and also requires a 
successful ssh first which also prompts for key acceptance on stdin.


2) What happens if the ssl connection closes?  I'd have a stale app unable 
to connect to the DB.  Is this a likely scenario?


I imagine this is a common problem with cloud deployment and a remote 
database.  What is the common solution?  

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to