MySQL Server Linux, CentOS VPS - Lost connection to MySQL server during query
Hello,
I have setup a small MySQL server running on CentOS, Linux. It's running fine apart from I am getting "Lost connection to MySQL server during query" through the control panel that is connecting to it from another server. I'm only using 75MB out of 512MB of RAM, just in case it matters. I have two servers connecting to the database, and they're both getting this error, the two servers are running on Windows Server 2008 and the MySQL VPS Server is running on Centos, Linux. Below is the my.cnf Code:
[mysqld] |
My suggestion would be to enable MySQL slow query logs and see if the remote page is timing out waiting for the query to return a result. You may also want to use the EXPLAIN command in the local MySQL instance to get more information about the query itself, that way, you can ensure it's as efficient as possible.
|
Quote:
|
Alright I added this to the my.cnf
Code:
log_slow_queries=/var/log/mysqld.slow.log |
All times are GMT -5. The time now is 11:36 PM. |