0

I am having my application and database hosted in EngineYard. Suddenly my application is down. I am getting this error when I looked into the log

Mysql2::Error: This connection is still waiting for a result, try again once you have the result

I tried to run some read queries from Rails console in Staging. This is working fine. Database queries returns the expected answers.

Also I checked out the Staging branch in local and checked. I could not reproduce the error in my local. So I assume there is no error in the code.

Saurabh
  • 71,488
  • 40
  • 181
  • 244
krishna
  • 183
  • 2
  • 19

1 Answers1

0

Restarting the App Server worked for me.

Syntax:

ey ssh "/engineyard/bin/app_<appname> restart" -e your_env_name --app-servers

Reference: Engineyard command line: ey web restart not working

Community
  • 1
  • 1
krishna
  • 183
  • 2
  • 19