I recently reprovisioned my server from MS 2008 r2 to MS 2012 r2 and tried to restore the database but I the following error:
Unable to restore database 'mediawiki_1'
ERROR 2006 (HY000) at line 848: MySQL server has gone away
(Error code 22)
---------------------- Debug Info -------------------------------
In reference to the best answer found at https://stackoverflow.com/questions/10474922/error-2006-hy000-mysql-server-has-gone-away?s=2|3.6649 I need to edit the my.cnf file to
max_allowed_packet=64M
Can someone point me to where I can find this file/run a script in Powershell to make the necessary change?