Fix mysql packet-lenght reception bug