Answer the question
In order to leave comments, you need to log in
How to connect virtual hosting database to rails?
Hello.
-> There is a virtual hosting with a database (MySQL, PostgreSQL) on it
--> Access from outside to the database is closed.
-> There is a rails project that needs to be connected to the hosting database. (similar to heroku, link)
How to connect rails and database? Is it possible at all?
I thought about a "relay" in php (rails -> php -> db), but I don't know if this is possible.
Answer the question
In order to leave comments, you need to log in
What is the problem with ssh tunnel or ipsec/vpn?
Or is there generally only one web muzzle and that's it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question