ROR Hosting 具有 Heroku 和 MySQL DBMS 等功能

发布于 2024-11-15 23:03:12 字数 271 浏览 1 评论 0原文

我购买了一个使用rails 2.3.5 和MySQL 的脚本。

我将它部署在我的计算机上并且工作正常,但是当我将该脚本上传到heroku 上时,某些功能不起作用。当我检查heroku日志时,我意识到大多数错误都与PostgreSQL有关。

我尝试了其他托管服务,但大多数服务不允许我们安装 gem,或者他们有一个特殊的安装 gem 的过程,我们必须联系他们的管理员获取所需的 gem。

是否有任何其他托管服务具有 MySQL DBMS 并且允许我们直接在其服务器上安装 gems?

I've bought a script which uses rails 2.3.5 and MySQL.

I deployed it on my computer and it was working fine but when I uploaded that script on heroku, some functionality does not work. When I checked the heroku logs, I realized that most of the errors were related to PostgreSQL.

I tried other hosting services but most of them don't let us install gems or they have a peculiar process for installing gems where we have to contact their admins for required gems.

Is there any other hosting service which has MySQL DBMS and which will allow us to install gems directly on their server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

伊面 2024-11-22 23:03:12

您是否考虑过将 Heroku 与 mysql Amazon RDS 实例一起使用?成本可能有点不小,每小时大约 0.11 美元起,但它应该可以满足您的需要。如果预算紧张,您可以考虑自己在微型实例上运行 mysql(设置更复杂,但运行成本更低)。

无论哪种方式,您都可以将 Heroku 应用程序配置为连接到 mysql 实例并从那里而不是 Heroku 数据库中提取数据。应该表现得很好,因为 Heroku(至少目前)在 Amazon EC2 内运行。

Have you thought about using Heroku with a mysql Amazon RDS instance? Costs might be a bit non-trivial, starting at around $0.11 per hour, but it should do what you need. If budgets are tight, you could look at running mysql on a micro instance yourself (more complex to set up, but cheaper to run).

Either way, you can configure your Heroku application to connect to the mysql instance and pull data from there instead of your Heroku database. Should perform pretty well, as Heroku (currently at least) runs inside Amazon EC2.

情仇皆在手 2024-11-22 23:03:12

我还没有机会使用它,但请查看 Cloud Foundry。它相当新,不像 Heroku 那么完善,但他们的服务包括 MySQL、Redis 和 MongoDB 数据服务。

I haven't had the chance to use it yet, but look into Cloud Foundry. It's fairly new and not as polished as Heroku, but their services include MySQL, Redis, and MongoDB data services.

南薇 2024-11-22 23:03:12

你可以尝试获得 dotcloud 的邀请,但它仍然是测试版 - 它允许你从许多不同的组件中进行选择来构建你的应用程序 - mysql 就是其中之一:)

you could try and get an invite for dotcloud, but it's still beta - it let's you choose from many different components to build you application on - mysql is one of them :)

云巢 2024-11-22 23:03:12

我刚刚在这个页面上看到了 Engine Yard 的广告。看起来很有希望。它有一个用于安装 gems 的图形界面,它允许我们在 MySQL 和 PostgrSQL 之间进行选择。

发动机场

I just saw an ad of Engine Yard on this very page. It looks promising. It has a graphical interface for installing gems and it lets us choose between MySQL and PostgrSQL.

Engine Yard

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文