Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8337887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:25:24+00:00 2026-06-09T04:25:24+00:00

I have deployed a rails application (using rails 3.2.3. ruby 1.9.2), it’s up and

  • 0

I have deployed a rails application (using rails 3.2.3. ruby 1.9.2), it’s up and running and everything is working. Then I tried to manage it using rails console, as vmc rails-console myapp. The console can be connected but when I issue a command like User.count I get the following error:

User.count(0.3ms)  SELECT COUNT(*) FROM `users` 
ActiveRecord::StatementInvalid: Mysql2::Error:
 MySQL server has gone away: SELECT COUNT(*) FROM `users`

It seems that the console can not access the database but caldecott is up and running and is bound to the mysql service according to vmc apps.

Anyone has ideas on that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:25:25+00:00Added an answer on June 9, 2026 at 4:25 am

    this is something we are currently looking to resolve. In the interim, you can have ActiveRecord re-establish the connection by calling establish_connection on the Base class;

    ActiveRecord::Base.establish_connection
    

    Dan

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Ruby on Rails 3 deployed at heroku. Now I have working fine
I have developed a Ruby on Rails application and successfully deployed on Weblogic using
I am working on a normal CRUD application using rails 3.0.9 I have deployed
I have deployed a rails app on unicorn, and am using Capistrano to manage
I have a Ruby on Rails app that I've recently deployed to a remote
I have deployed a PHP application on my tomcat server(Tomcat 6.0).Previously I was using
I have deployed a Rails application on Heroku (web-server thin). When I push it,
i have just deployed my rails application but the css stylesheet wont appear I'm
Let's say I have deployed my Rails app on a VPS, and everything works
I have an application written in Rails, deployed on Heroku. I used to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.