#865 ✓not-applicable
Alexandre Girard

MySQL server has gone away since this morning

Reported by Alexandre Girard | May 25th, 2009 @ 01:18 AM

Hi DM team,

I've got this big issue since this morning, I thinks it comes from last week update (0.9.11) since it's the first time I've restarted my server since this update.

The mysql connexion is crashing like this after 30sec-1min...

MySql Server version: 5.0.27

==> shared/log/production.log <==
merb : galibert_production : worker (port 4000) ~ (mysql_errno=2006, sql_state=HY000) MySQL server has gone away
Query: Mysql server has gone away.                              Please report this issue to the Datamapper project.                              Specify your at least your MySQL version when filing a ticket - (MysqlError)
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:66:in `execute_reader'
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:66:in `read_one'
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:173:in `with_connection'
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:61:in `read_one'
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/repository.rb:72:in `read_one'
/usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/model.rb:267:in `first'

Comments and changes to this ticket

  • Alexandre Girard

    Alexandre Girard May 25th, 2009 @ 04:26 PM

    I've solved the problem regenerating a merb app, and using it's generated config/dependencies.rb into my old project, it was probably some gems with love/hate relationships...

    You can close the ticket, hopefully nobody else will have the same mess with it gems version numbers

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) May 26th, 2009 @ 02:56 AM

    • State changed from “unconfirmed” to “not-applicable”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages