MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred
Query: SELECT * FROM `site_stats` LIMIT 1
Function: wfSpecialStatistics
Error: 2006 MySQL server has gone away (localhost)
' in C:\XAMPP\htdocs\w\includes\Database.php:694
Stack trace:
#0 C:\XAMPP\htdocs\w\includes\Database.php(651): Database->reportQueryError('MySQL server ha...', 2006, 'SELECT * FROM...', 'wfSpecialStatis...', false)
#1 C:\XAMPP\htdocs\w\includes\Database.php(1040): Database->query('SELECT * FROM...', 'wfSpecialStatis...')
#2 C:\XAMPP\htdocs\w\includes\Database.php(1059): Database->select('site_stats', '*', false, 'wfSpecialStatis...', Array)
#3 C:\XAMPP\htdocs\w\skins\RuDataCinemaSkin.php(101): Database->selectRow('site_stats', '*', false, 'wfSpecialStatis...')
#4 C:\XAMPP\htdocs\w\skins\RuDataCinemaSkin.php(143): cinemaskin_getSiteStatistics()
#5 C:\XAMPP\htdocs\w\includes\SkinTemplate.php(454): RuDataCinemaSkinTemplate->execute()
#6 C:\XAMPP\htdocs\w\includes\OutputPage.php(642): SkinTemplate->outputPage(Object(OutputPage))
#7 C:\XAMPP\htdocs\w\includes\Wiki.php(262): OutputPage->output()
#8 C:\XAMPP\htdocs\w\index.php(48): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
#9 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject(): MySQL server has gone away (localhost)' in C:\XAMPP\htdocs\w\includes\Database.php:811
Stack trace:
#0 C:\XAMPP\htdocs\w\includes\Database.php(2048): Database->fetchObject(false)
#1 C:\XAMPP\htdocs\w\includes\LinkBatch.php(90): ResultWrapper->fetchObject()
#2 C:\XAMPP\htdocs\w\includes\LinkBatch.php(69): LinkBatch->executeInto(Object(LinkCache))
#3 C:\XAMPP\htdocs\w\includes\Skin.php(202): LinkBatch->execute()
#4 C:\XAMPP\htdocs\w\includes\Skin.php(181): Skin->preloadExistence()
#5 C:\XAMPP\htdocs\w\includes\SkinTemplate.php(106): Skin->initPage(Object(OutputPage))
#6 C:\XAMPP\htdocs\w\skins\RuDataCinemaSkin.php(114): SkinTemplate->initPage(Object(OutputPage))
#7 C:\XAMPP\htdocs\w\includes\SkinTemplate.php(153): SkinRuDataCinemaSkin->initPage(Object(OutputPage))
#8 C:\XAMPP\htdocs\w\includes\OutputPage.php(642): SkinTemplate->outputPage(Object(OutputPage))
#9 C:\XAMPP\htdocs\w\includes\Exception.php(73): OutputPage->output()
#10 C:\XAMPP\htdocs\w\includes\Exception.php(94): MWException->reportHTML()
#11 C:\XAMPP\htdocs\w\includes\Exception.php(170): MWException->report()
#12 C:\XAMPP\htdocs\w\includes\Exception.php(204): wfReportException(Object(DBQueryError))
#13 [internal function]: wfExceptionHandler(Object(DBQueryError))
#14 {main}