I am getting the following error when I try to rebuild the Search index.
An exception occurred: [XF\Db\Exception] MySQL statement prepare error [2006]: MySQL server has gone away in src\XF\Db\AbstractStatement.php on line 228
XF\Db\AbstractStatement->getException() in...
an exception occurred: [xf\db\exception] mysql statement prepare error
mysql
rebuilding search index error
xenforo
[2006]:mysqlserverhasgoneawayinsrc/xf/db/abstractstatement.phponline212