douliu1092 2014-09-07 19: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 23:29
    关注

    I would recommend a

    rhc app-force-stop {appname}
    

    and then

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

报告相同问题?

悬赏问题

  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效