Warning: Error while sending QUERY packet. PID=3431

Got this on login - tried again and was ok…


Warning: Error while sending QUERY packet. PID=3431 in /home/cooles/public_html/piwik/libs/Zend/Db/Statement/Pdo.php on line 228 

Backtrace -->

#0 Piwik_ErrorHandler(...) called at [:]
#1 PDOStatement->execute(...) called at [/home/cooles/public_html/piwik/libs/Zend/Db/Statement/Pdo.php:228]
#2 Zend_Db_Statement_Pdo->_execute(...) called at [/home/cooles/public_html/piwik/libs/Zend/Db/Statement.php:300]
#3 Zend_Db_Statement->execute(...) called at [/home/cooles/public_html/piwik/core/Db/Adapter/Pdo/Mysql.php:212]
#4 Piwik_Db_Adapter_Pdo_Mysql->query(...) called at [/home/cooles/public_html/piwik/libs/Zend/Db/Adapter/Abstract.php:827]
#5 Zend_Db_Adapter_Abstract->fetchOne(...) called at [/home/cooles/public_html/piwik/core/PluginsFunctions/Sql.php:102]
#6 Piwik_Sql::fetchOne(...) called at [/home/cooles/public_html/piwik/core/PluginsFunctions/Sql.php:465]
#7 Piwik_FetchOne(...) called at [/home/cooles/public_html/piwik/plugins/LanguagesManager/API.php:162]
#8 Piwik_LanguagesManager_API->getLanguageForUser(...) called at [/home/cooles/public_html/piwik/plugins/LanguagesManager/LanguagesManager.php:193]
#9 Piwik_LanguagesManager::getLanguageFromPreferences(...) called at [/home/cooles/public_html/piwik/plugins/LanguagesManager/LanguagesManager.php:158]
#10 Piwik_LanguagesManager::getLanguageCodeForCurrentUser(...) called at [/home/cooles/public_html/piwik/plugins/LanguagesManager/LanguagesManager.php:95]
#11 Piwik_LanguagesManager->getLanguagesSelector(...) called at [/home/cooles/public_html/piwik/plugins/LanguagesManager/LanguagesManager.php:66]
#12 Piwik_LanguagesManager->showLanguagesSelector(...) called at [:]
#13 call_user_func_array(...) called at [/home/cooles/public_html/piwik/libs/Event/Dispatcher.php:284]
#14 Event_Dispatcher->postNotification(...) called at [/home/cooles/public_html/piwik/core/PluginsManager.php:674]
#15 Piwik_PostEvent(...) called at [/home/cooles/public_html/piwik/core/Menu/Top.php:59]
#16 Piwik_Menu_Top->get(...) called at [/home/cooles/public_html/piwik/core/Menu/Top.php:72]
#17 Piwik_GetTopMenu(...) called at [/home/cooles/public_html/piwik/core/Controller.php:437]
#18 Piwik_Controller->setGeneralVariablesView(...) called at [/home/cooles/public_html/piwik/plugins/CoreHome/Controller.php:58]
#19 Piwik_CoreHome_Controller->getDefaultIndexView(...) called at [/home/cooles/public_html/piwik/plugins/CoreHome/Controller.php:91]
#20 Piwik_CoreHome_Controller->index(...) called at [:]
#21 call_user_func_array(...) called at [/home/cooles/public_html/piwik/core/FrontController.php:125]
#22 Piwik_FrontController->dispatch(...) called at [/home/cooles/public_html/piwik/index.php:47]


Sorry, I don’t know about this Mysql error !

Maybe up a memory limit asper here?

https://bugs.php.net/bug.php?id=50300

Also what version of mysql? if its 5.1.x maybe a newer version might help?