how to debug mysql has gone?

Posted by fefe on Server Fault See other posts from Server Fault or by fefe
Published on 2013-11-09T14:49:34Z Indexed on 2013/11/09 15:56 UTC
Read the original article Hit count: 221

Filed under:
|
|

I have a virtual machine(Ubuntu 12.04, MySQL 5.5) running under VMware and is dedicated to host a mysql server. I connect to this server on internal IP.

I'm trying to find out why I get mysql server has gone error. One my windows machines apache it stops because of this issue. I have been trying to fine tune my mysql my.cnf with the following parameters but did not bring the desired result.

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
 bind-address           = 0.0.0.0
#
# * Fine Tuning
#
wait_timeout = 180
key_buffer              = 384M
max_allowed_packet      = 64M
thread_stack            = 192K
thread_cache_size       = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover         = BACKUP
max_connections        = 500
table_cache            = 64
#thread_concurrency     = 10
#
# * Query Cache Configuration
#
query_cache_limit       = 1M
query_cache_size        = 32M

how to debug this issue what is missing from configuration to avoid this error?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about mysql