Error -2147467259 – MySQL “Malformed communication packet”

You may encounter the following error with MySQL Server 8.0.25 or below when adding a new record:

Error when inserting data into MySQL

This is a known issue with MySQL Server below 8.0.26 with more recent connectors.

To use the recent connectors (8.0.23+) the server must also be upgraded to 8.0.26 or higher. As of June 22, 2021 this has not yet been released. As a workaround, you can uninstall the more recent connector and install 8.0.22 from