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}
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 mmocr的训练错误,结果全为0
  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀