1
votes

Today, I have problem on my openshift account. Mysql on my openshift account gone rogue, i cant connect to MySql by php script and even from SSH.

Already try to restart the gear, but it's not working.When i try to SSH to the gear.And when i type MYSQL. It have this error:

ERROR 2003 (HY000): Can't connect to MySQL server

Can someone show me how to fix this issue ? thanks

1

1 Answers

0
votes

My recommendation is to do the following from the command line:

1) rhc app-force-stop {your app name}

2) rhc app-start {your app name}

Seems like something is stuck and you need a "hard" restart