Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

how solve SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query
 
online sports shop
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-11-30
Pakistan
 

SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query
this error suddenly appear in my database after 4 month installation.
When I try to check my database through phpMyAdmin this massage show.
phpMyAdmin - Error
#2002 - The server is not responding (or the local MySQL server’s socket is not correctly configured)
Please help me
What reason such error and what is solution it

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
brendanb
Mentor
 
Total Posts:  1093
Joined:  2008-07-16
London, United Kingdom
 

hmmm,

have you changed the username / password on your database recently?

if so did you update the local.xml connection file?

brendan

 
Magento Community Magento Community
Magento Community
Magento Community
 
online sports shop
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-11-30
Pakistan
 

No Sir I have no any change
Secondly when I try to check my database through phpMyAdmin some time show this message that Database mthcompk_iVZoyma (227)

No tables found in database.

When I try import database from backup copy then this error come .For reference I attached image.Please tell me how remove this error .

Image Attachments
database.gif
 
Magento Community Magento Community
Magento Community
Magento Community
 
brendanb
Mentor
 
Total Posts:  1093
Joined:  2008-07-16
London, United Kingdom
 

how did you re-import the database?. via the phpmyadmin import of from ssh command line?

from ssh i would usually execute a command like this

mysql -u usernamehere -p passwordhere databasenamehere mysqldumfilenamehere.sql

have you searched on google for the error message?

brendan

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top