<p>Try updating your MySQL config <code>max_allowed_packet</code> config setting to a higher value and verify the change has been applied to your running instance.</p>

<p><a href="https://dba.stackexchange.com/questions/19135/mysql-error-reading-communication-packets">https://dba.stackexchange.com/questions/19135/mysql-error-reading-communication-packets</a></p>

CC BY-SA 4.0
2019-01-21T07:52:07.623Z
I've tried increasing it to 256M but it still doesn't work unfortunately.
Thomas
CC BY-SA 4.0
2019-01-20T00:22:58.867Z
2019-01-20T00:22:58.867Z
Brad Bell
<p>I've got a local installation of Craft 3.0.37 and Craft Commerce 2.0.0-beta.15 running on MAMP. When completing an order, an empty response is given by the browser. The same thing happens when trying to look at that error from the admin area. </p>

<p>When I look into the MYSQL logs, I see the following error for both situations:</p>

<p><code>2019-01-13T13:32:43.718637Z 300 [Note] Aborted connection 300 to db: 'DBNAME' user: 'root' host: 'localhost' (Got an error reading communication packets)</code></p>

<p>I've tried upping the limits of the MYSQL setup, but to no avail. </p>

CC BY-SA 4.0
2019-01-14T12:48:01.047Z
Strange, can you try deleting all orders from  the order index screen and making a new order? issue persists?
Luke Holder
CC BY-SA 4.0
2019-01-16T08:06:42.953Z
I also use MAMP and i have the same problem. I also deleting all orders from the order index and make a new order. I always have the same problem. Any solutions?
Maximilian Schwarz
CC BY-SA 4.0
2019-01-16T11:45:54.400Z
@LukeHolder Yeah I've tried that too, but to no avail..
Thomas
<craft3><mysql><plugin-craftcommerce2>
ERR_EMPTY_RESPONSE when accessing order data (MAMP)
# ERR_EMPTY_RESPONSE when accessing order data (MAMP)

(Asked by: username_0 on 2019-01-13)

I've got a local installation of Craft 3.0.37 and Craft Commerce 2.0.0-beta.15 running on MAMP. When completing an order, an empty response is given by the browser. The same thing happens when trying to look at that error from the admin area.

When I look into the MYSQL logs, I see the following error for both situations:

`2019-01-13T13:32:43.718637Z 300 [Note] Aborted connection 300 to db: 'DBNAME' user: 'root' host: 'localhost' (Got an error reading communication packets)`

I've tried upping the limits of the MYSQL setup, but to no avail.

**Tags:** craft3, mysql, plugin-craftcommerce2

> **Comments:**
> **username_1**: Strange, can you try deleting all orders from  the order index screen and making a new order? issue persists?  
> **username_2**: I also use MAMP and i have the same problem. I also deleting all orders from the order index and make a new order. I always have the same problem. Any solutions?  
> **username_0**: @LukeHolder Yeah I've tried that too, but to no avail..  

---

## 1 answers

### Answer by username_3 on 2019-01-20. Score: 0

Try updating your MySQL config `max_allowed_packet` config setting to a higher value and verify the change has been applied to your running instance.

<https://dba.stackexchange.com/questions/19135/mysql-error-reading-communication-packets>

> **Comments:**
> **username_0**: I've tried increasing it to 256M but it still doesn't work unfortunately.  

---

