Project

General

Profile

Actions

Defect #5333

closed

Help Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

Added by rui gao almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-16
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate
(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

I dont know how to deal with it, help me?
Thanks.
Actions #1

Updated by rui gao almost 14 years ago

rui gao wrote:

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate

(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

I dont know how to deal with it, help me?
Thanks.

Actions #2

Updated by rui gao almost 14 years ago

rui gao wrote:

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate
(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'
I dont know how to deal with it, help me?
Thanks.

Actions #3

Updated by rui gao almost 14 years ago

rui gao wrote:

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate
(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

I dont know how to deal with it, help me?

Thanks.

Actions #4

Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please, no support request here.

Actions #5

Updated by rui gao almost 14 years ago

rui gao wrote:

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate
(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

I dont know how to deal with it, help me?
Thanks.

Actions #6

Updated by rui gao almost 14 years ago

  • Status changed from Closed to Reopened

rui gao wrote:

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate
(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

I dont know how to deal with it, help me?
Thanks.

Actions #7

Updated by rui gao almost 14 years ago

rui gao wrote:

Hi,
When I try to command "RAILS_ENV=production rake db:migrate",get the following error:

RAILS_ENV=production rake db:migrate
(in /var/www/redmine-0.9.3)
rake aborted!
Mysql::ProtocolError: invalid packet: sequence number mismatch(3 != 1(expected)): SET NAMES 'utf8'

I dont know how to deal with it, help me?
Thanks.

Actions #8

Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from Reopened to Closed

Please don't reopen.

Actions #9

Updated by Daniel Stoinski almost 14 years ago

Most probably a wrong mysql driver is the cause. Please see also issue #5693

Daniel Stoinski

Actions #10

Updated by Andrew Castellanos over 12 years ago

SPAM

Actions

Also available in: Atom PDF