Kevin Warrington

Loading clever subtitle...

Error: MySQL Server Has Gone Away

When trying to create a new mysql user, I came across the error:

ERROR 2006 (HY000) at line 1: MySQL server has gone away

The fix turned out to be simple, as the documentation states, “mysql_upgrade should be executed each time you upgrade MySQL”. The following command fixed the problem.

mysql_upgrade --password