douliu1092 2014-09-07 11:25
浏览 42
已采纳

无法在Openshift中连接到数据库

I'm running a scaled TinyTinyRSS cartridge, which includes PHP 5.3, a Web Load Balancer, Cron 1.4, and PostgreSQL 9.2.

When I go to the page, I am getting the error:

Unable to connect to database (as [username] to 5401f66a4382ec91770000e2-rmorabia.rhcloud.com, database rss):Unable to connect to database (as [username] to 5401f66a4382ec91770000e2-rmorabia.rhcloud.com, database rss):

By the way, the link to my app is here.

I'm not sure what the problem is. It worked at the beginning, and it hasn't been for the past few days. If you could tell me what information would be helpful to put here, that'd be great.

Possibly of interest, the PHP 5.3 cartridge has a "Idle" status. I was also unable to restart the app.

  • 写回答

1条回答 默认 最新

  • doulan8152 2014-09-07 15:29
    关注

    I would recommend a

    rhc app-force-stop {appname}
    

    and then

    rhc restart -a {appname}
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部