Tuesday, May 3, 2011

Mysql Dropping Connection

I am on Instant Ruby on Rails Mysql version 5.0.27, developing a system and all was going ok (sort of). Now the database keeps dropping. I found some comments that the userid needs to be root and password blank, I had changed the password, so I changed it back. Views run fine displaying and making changes than 500 Internal error, log says the Mysql connection dropped. Any clues??

From stackoverflow
  • check mysql log. what does it say?

  • ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL server during query: SELECT * FROM events WHERE (events.id = 1) ): followed by alot of falldown errors

0 comments:

Post a Comment