Warning: got packets out of order. Expected 1 but received 28
See original GitHub issueI am trying to create a MySQL server using node-mysql2
, but I am getting the following errors:
Warning: got packets out of order. Expected 1 but received 28
Warning: got packets out of order. Expected 2 but received 29
Warning: got packets out of order. Expected 3 but received 30
Warning: got packets out of order. Expected 4 but received 31
Warning: got packets out of order. Expected 5 but received 32
[ [ TextRow { '1': 1 } ],
[ { catalog: 'def',
schema: '',
name: '1',
orgName: '',
table: '',
orgTable: '',
characterSet: 63,
columnLength: 1,
columnType: 8,
flags: 129,
decimals: 0 } ] ]
This is the server initialization code, https://github.com/gajus/seeql/blob/fb615713a6fe3b856c543d2dd5e27286ba3e665a/src/index.js#L135-L142.
connection.serverHandshake({
capabilityFlags: 0xffffff,
characterSet: 8,
connectionId: connectionId++,
protocolVersion: 10,
serverVersion: '5.6.10',
statusFlags: 2
});
What am I missing?
Using Node.js v7.7.1.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:28 (3 by maintainers)
Top Results From Across the Web
Error: Packets out of order. Got: 1 Expected: 0 - Stack Overflow
I'm using node v12.14.1 and the npm package mysql v2.18.1. I also set the max_allowed_packet to 1G but it did not help. Here...
Read more >Warning: got packets out of order. Expected 1 but received 28
I am trying to create a MySQL server using node-mysql2 , but I am getting the following errors: Warning: got packets out of...
Read more >how can I fix: Packets out of order. Expected 0 received 1 ...
I installed Laravel in a shared hosting, I placed all the folders of laravel inside a folder called /site, at the same level...
Read more >MySQL: Packets out of order error - General - Node-RED Forum
All 3 of these issues can cause the error of X expect Y packet out of order scenario. For whatever reason, mysql node...
Read more >Mysqli warning Packets out of order. Expected 1 received 0
[2020-11-16 11:28 UTC] w2kzx80 at gmail dot com. Description: ------------ Hi Im using php 7.4.10 and i cant simply upgrade it to 7.4.12...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Experiencing the same issue.
Passei a receber esse erro hoje. Um Ano se passou e ninguém soube como resolver?