LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Error Code : 2013 Lost connection to MySQL server during query (https://www.linuxquestions.org/questions/linux-server-73/error-code-2013-lost-connection-to-mysql-server-during-query-921781/)

jayakumar01 01-03-2012 08:52 AM

Error Code : 2013 Lost connection to MySQL server during query
 
Hi All,
Im getting out these error while execution of query .

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

max_allowed_packet=2G

max_connections=500

log=all-logs.log

connect-timeout=120

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

TenTenths 01-03-2012 09:10 AM

So, what have you done to troubleshoot this?

What is the query? Do you expect it to take a long time to run?

What version of MySQL are you using?

Did you even bother to read this: http://dev.mysql.com/doc/refman/5.1/...onnection.html


All times are GMT -5. The time now is 06:16 AM.